summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-19 15:01:18 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-19 15:01:18 +0000
commite963f9d8817029da9477d975f74f17292d8cd4c2 (patch)
treed6d056655bd5d66973c6280466f239b483890387 /install.php
parent04ca1b4676fa636138071da083f9159707d7328f (diff)
downloadbrdo-e963f9d8817029da9477d975f74f17292d8cd4c2.tar.gz
brdo-e963f9d8817029da9477d975f74f17292d8cd4c2.tar.bz2
#100909 by webernet and RobRoy: improve cron error reporting by defining time tresholds, so if cron stops running after some time, it also becomes an error, but cron not run yet is not an error on installation
Diffstat (limited to 'install.php')
-rw-r--r--install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.php b/install.php
index 69e703881..2706527b7 100644
--- a/install.php
+++ b/install.php
@@ -1073,6 +1073,9 @@ function install_configure_form_submit($form, &$form_state) {
// The user is now logged in, but has no session ID yet, which
// would be required later in the request, so remember it.
$user->sid = session_id();
+
+ // Record when this install ran.
+ variable_set('install_time', time());
}
// Start the installer.