From c9e262af478be835b25d2c8504a9824e3d4ab878 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 27 Nov 2017 17:09:10 +0100 Subject: [baseconfig] Add current unix timestamp to config --- modules-available/baseconfig/api.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules-available') 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(); } -- cgit v1.2.3-55-g7522