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

17 lines
414 B
PHP
Raw Normal View History

2020-11-29 01:55:31 +01:00
<?php
/* Location of configuration and spool */
$config_dir = "<config_dir>";
$spooldir = "<spooldir>";
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;
ini_set('error_reporting', E_ERROR );
?>