diff options
author | Erich Eckner <git@eckner.net> | 2019-02-11 13:21:55 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-11 13:21:55 +0100 |
commit | 4b72898b92b88d1db5ec0d2f8507011b8ad653b0 (patch) | |
tree | 0c452d57e6f84248375a0d910799f04a2b74ab77 /lib/helper.php | |
parent | 94c64f86b16164927d662ebc832852d539c746cf (diff) | |
download | archweb32-4b72898b92b88d1db5ec0d2f8507011b8ad653b0.tar.xz |
lib/*.php: should not require_once ../init.php - else it cannot be included from the parent directory
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php index b9a62fb..e10f46c 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -4,8 +4,6 @@ if (function_exists("format_time_duration")) return; -require_once "../init.php"; - function format_time_duration($val) { $val = floor($val); $result = ""; |