require is a statement and not a function

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-18 12:53:33 +01:00
parent ca38e20345
commit 0db0b3bd88
26 changed files with 28 additions and 57 deletions

View File

@@ -18,10 +18,9 @@
*/
define('AREA', 'admin');
$need_db_sql_data = true;
$need_root_db_sql_data = true;
require ("./lib/init.php");
require './lib/init.php';
if (($page == 'settings' || $page == 'overview')
&& $userinfo['change_serversettings'] == '1'