mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-22 13:25:54 +02:00
Move forum config to settings
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
*/
|
||||
defined('MYAAC') or die('Direct access not allowed!');
|
||||
|
||||
require __DIR__ . '/base.php';
|
||||
$ret = require __DIR__ . '/base.php';
|
||||
if ($ret === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(!Forum::isModerator()) {
|
||||
echo 'You are not logged in or you are not moderator.';
|
||||
|
Reference in New Issue
Block a user