mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
Test admin scripts are parsing correctly.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once('../class2.php');
|
||||
require_once(__DIR__.'/../class2.php');
|
||||
if (!getperms('X'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
@@ -30,7 +30,10 @@ $e_userclass = new user_class();
|
||||
|
||||
$query = explode('.', e_QUERY);
|
||||
|
||||
$search_prefs = $sysprefs -> getArray('search_prefs');
|
||||
$search_prefs = e107::getConfig('search')->getPref();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user