Move version assignment (to var) to sectiondir config.inc.php.
This commit is contained in:
parent
301b9daf27
commit
d686415a0d
|
@ -1,8 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/* Version */
|
|
||||||
$rslight_version = file_get_contents('../common/version.txt');
|
|
||||||
|
|
||||||
/* Location of configuration and spool */
|
/* Location of configuration and spool */
|
||||||
$config_dir = "<config_dir>";
|
$config_dir = "<config_dir>";
|
||||||
$spooldir = "<spooldir>";
|
$spooldir = "<spooldir>";
|
||||||
|
|
|
@ -46,6 +46,9 @@ $script_path = $config_dir . "/scripts/";
|
||||||
$CONFIG = include ($config_file);
|
$CONFIG = include ($config_file);
|
||||||
$OVERRIDES = include ($config_dir . '/overrides.inc.php');
|
$OVERRIDES = include ($config_dir . '/overrides.inc.php');
|
||||||
|
|
||||||
|
/* Version */
|
||||||
|
$rslight_version = file_get_contents('../common/version.txt');
|
||||||
|
|
||||||
// Spool directory size and minimum in Gigabytes
|
// Spool directory size and minimum in Gigabytes
|
||||||
if ($OVERRIDES['min_spool_disk_space'] > 0) {
|
if ($OVERRIDES['min_spool_disk_space'] > 0) {
|
||||||
$min_spool_disk_space = $OVERRIDES['min_spool_disk_space'];
|
$min_spool_disk_space = $OVERRIDES['min_spool_disk_space'];
|
||||||
|
|
Loading…
Reference in New Issue