diff options
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | lib/common.php | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -27,7 +27,7 @@ $actionfile = INSTALLDIR."/actions/$action.php"; if (file_exists($actionfile)) { require_once($actionfile); - $action_class = ucfirst($action) . "Action"; + $action_class = ucfirst($action)."Action"; call_user_func(array($action_class, 'handle'), $_REQUEST); } else { common_user_error(_t('Unknown action')); diff --git a/lib/common.php b/lib/common.php index bcfca0fc0..5eed1bb81 100644 --- a/lib/common.php +++ b/lib/common.php @@ -55,7 +55,8 @@ $config['db'] = 'db_driver' => 'MDB2', 'quote_identifiers' => false); -require_once(INSTALLDIR . '/config.php'); +require_once(INSTALLDIR.'/config.php'); +require_once(INSTALLDIR.'/lib/action.php'); # Show a server error |