Skip to content

Commit

Permalink
Fixed "PHP Notice: Use of undefined constant classpath - assumed 'cla…
Browse files Browse the repository at this point in the history
…sspath'"
  • Loading branch information
jamiesensei committed Mar 12, 2009
1 parent f8dff82 commit 93efb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/amf/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function run() {
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
Expand Down

0 comments on commit 93efb84

Please sign in to comment.