rocksolid-light/Rocksolid_Light/common/config.inc.php

24 lines
539 B
PHP
Raw Normal View History

2020-11-29 01:55:31 +01:00
<?php
/* Version */
2022-11-26 02:48:59 +01:00
$rslight_version = "<version>";
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
?>