correct placement of common
darcs-hash:20080517154942-84dde-d671f0805fc47c4321d84d3e1c1aea6a11d46395.gz
This commit is contained in:
parent
3b14b7901c
commit
eb4c69ef27
|
@ -20,7 +20,7 @@
|
||||||
define('INSTALLDIR', dirname(__FILE__));
|
define('INSTALLDIR', dirname(__FILE__));
|
||||||
define('LACONICA', true);
|
define('LACONICA', true);
|
||||||
|
|
||||||
require_once(INSTALLDIR . "/common.php");
|
require_once(INSTALLDIR . "/lib/common.php");
|
||||||
|
|
||||||
$action = $_REQUEST['action'];
|
$action = $_REQUEST['action'];
|
||||||
$actionfile = INSTALLDIR."/actions/$action.php";
|
$actionfile = INSTALLDIR."/actions/$action.php";
|
||||||
|
@ -31,5 +31,4 @@ if (file_exists($actionfile)) {
|
||||||
call_user_func(array($action_class, 'handle'), $_REQUEST);
|
call_user_func(array($action_class, 'handle'), $_REQUEST);
|
||||||
} else {
|
} else {
|
||||||
common_user_error(_t('Unknown action'));
|
common_user_error(_t('Unknown action'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user