2020-11-29 01:55:31 +01:00
|
|
|
<?php
|
|
|
|
|
2022-11-22 08:02:33 +01:00
|
|
|
/* Version */
|
2022-11-26 02:48:59 +01:00
|
|
|
$rslight_version = "<version>";
|
2022-11-22 08:02:33 +01:00
|
|
|
|
2020-11-29 01:55:31 +01:00
|
|
|
/* Location of configuration and spool */
|
2022-11-26 02:48:59 +01:00
|
|
|
$config_dir = "<config_dir>";
|
|
|
|
$spooldir = "<spooldir>";
|
2020-11-29 01:55:31 +01:00
|
|
|
|
|
|
|
if(isset($config_name) && file_exists($config_dir.$config_name.'.inc.php')) {
|
|
|
|
$config_file = $config_dir.$config_name.'.inc.php';
|
|
|
|
} else {
|
|
|
|
$config_file = $config_dir.'rslight.inc.php';
|
|
|
|
}
|
|
|
|
/* Include main config file for rslight */
|
|
|
|
$CONFIG = include $config_file;
|
|
|
|
|
2023-05-15 05:07:01 +02:00
|
|
|
$title = $CONFIG['title_full'];
|
|
|
|
|
2023-05-14 20:37:10 +02:00
|
|
|
if(!file_exists($config_dir.'/DEBUG')) {
|
|
|
|
ini_set('error_reporting', E_ERROR );
|
|
|
|
}
|
2020-11-29 01:55:31 +01:00
|
|
|
?>
|