From: jamiesensei Date: Thu, 12 Mar 2009 09:03:47 +0000 (+0000) Subject: Fixed "PHP Notice: Use of undefined constant classpath - assumed 'classpath'" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=93efb8404fb6847f56e67fcd8eceff1da7664f52;p=moodle.git Fixed "PHP Notice: Use of undefined constant classpath - assumed 'classpath'" --- diff --git a/webservice/amf/lib.php b/webservice/amf/lib.php index 6c29f252df..084d765607 100644 --- a/webservice/amf/lib.php +++ b/webservice/amf/lib.php @@ -49,7 +49,7 @@ final class amf_server extends webservice_server { Zend_Loader::registerAutoload(); //retrieve the api name - $classpath = optional_param(classpath,'user',PARAM_ALPHA); + $classpath = optional_param('classpath','user',PARAM_ALPHA); require_once(dirname(__FILE__) . '/../../'.$classpath.'/external.php'); /// run the Zend AMF server