svrjs-mods-directory/index.php

14 lines
487 B
PHP
Raw Permalink Normal View History

2024-12-27 15:05:54 +01:00
<?php
define("SVRJS_MOD_DIRECTORY", null);
include 'config.php';
$appRoot = dirname($_SERVER['SCRIPT_NAME']);
if ($appRoot[strlen($appRoot) - 1] != "/") $appRoot = $appRoot . '/';
define('APP_ROOT', $appRoot);
define('APP_FSROOT', dirname(__FILE__));
define('APP_FILENAME', basename($_SERVER['SCRIPT_NAME']));
define('APP_MODERATION_ROOT', $appRoot . 'moderation/');
include 'vendor/autoload.php';
include 'includes/init.php';
include 'includes/pages.php';
include 'includes/final.php';