correct placement of common

darcs-hash:20080517154942-84dde-d671f0805fc47c4321d84d3e1c1aea6a11d46395.gz
This commit is contained in:
Evan Prodromou 2008-05-17 11:49:42 -04:00
parent 3b14b7901c
commit eb4c69ef27
1 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@
define('INSTALLDIR', dirname(__FILE__));
define('LACONICA', true);
require_once(INSTALLDIR . "/common.php");
require_once(INSTALLDIR . "/lib/common.php");
$action = $_REQUEST['action'];
$actionfile = INSTALLDIR."/actions/$action.php";
@ -31,5 +31,4 @@ if (file_exists($actionfile)) {
call_user_func(array($action_class, 'handle'), $_REQUEST);
} else {
common_user_error(_t('Unknown action'));
}
}