Commit 669f4949 authored by Evan Prodromou's avatar Evan Prodromou

add action class to default loads

darcs-hash:20080517161817-84dde-a28288b093f40eda0d8444f54eca818b2c65a735.gz
parent 62d02845
......@@ -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'));
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment