only append time() to scripts when using dev. version

master
Andrew Dolgov 18 years ago
parent 7f42331527
commit 1b758780aa

@ -83,7 +83,7 @@
10080 => "Weekly");
$script_started = getmicrotime();
$script_dt_add = time();
$script_dt_add = get_script_dt_add();
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);

@ -1482,4 +1482,12 @@
}
}
function get_script_dt_add() {
if (strpos(VERSION, "99") === false) {
return VERSION;
} else {
return time();
}
}
?>

@ -14,7 +14,7 @@
login_sequence($link);
$dt_add = time();
$dt_add = get_script_dt_add();
?>
<html>

@ -14,7 +14,7 @@
login_sequence($link);
$dt_add = time();
$dt_add = get_script_dt_add();
?>
<html>

Loading…
Cancel
Save