diff options
author | Simon Rettberg | 2017-11-27 17:09:10 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-27 17:09:10 +0100 |
commit | c9e262af478be835b25d2c8504a9824e3d4ab878 (patch) | |
tree | aa64403f8a963392377af4259dc021b72485bf74 | |
parent | [baseconfig_bwlp] Add SLX_WAKEUP_SCHEDULE (diff) | |
download | slx-admin-c9e262af478be835b25d2c8504a9824e3d4ab878.tar.gz slx-admin-c9e262af478be835b25d2c8504a9824e3d4ab878.tar.xz slx-admin-c9e262af478be835b25d2c8504a9824e3d4ab878.zip |
[baseconfig] Add current unix timestamp to config
-rw-r--r-- | modules-available/baseconfig/api.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/baseconfig/api.inc.php b/modules-available/baseconfig/api.inc.php index 64204774..a4024c5e 100644 --- a/modules-available/baseconfig/api.inc.php +++ b/modules-available/baseconfig/api.inc.php @@ -172,12 +172,14 @@ if (Request::any('save') === 'true') { } else { echo "# Error saving config to $path\n"; } + echo "SLX_NOW='", time(), "'\n"; } } // Output to browser echo $lines; } else { // Only output to client + ConfigHolder::add('SLX_NOW', time(), PHP_INT_MAX); ConfigHolder::outputConfig(); } |