diff options
author | Andrew Dolgov <[email protected]> | 2006-03-30 07:57:29 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-30 07:57:29 +0100 |
commit | 1b758780aa92e07e10dfa02fe1f3980e7f85ee68 (patch) | |
tree | c193cc9d4a5dcfc0635735111a222524a0e5060d /functions.php | |
parent | 7f423315279a5f42c6982b27fb5c3e0f47cafe0a (diff) |
only append time() to scripts when using dev. version
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/functions.php b/functions.php index a9081e59e..be95caa04 100644 --- a/functions.php +++ b/functions.php @@ -1482,4 +1482,12 @@ } } + function get_script_dt_add() { + if (strpos(VERSION, "99") === false) { + return VERSION; + } else { + return time(); + } + } + ?> |