Fixed "PHP Notice: Use of undefined constant classpath - assumed 'classpath'"

This commit is contained in:
jamiesensei
2009-03-12 09:03:47 +00:00
parent f8dff8206f
commit 93efb8404f
+1 -1
View File
@@ -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