From 4b72898b92b88d1db5ec0d2f8507011b8ad653b0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Feb 2019 13:21:55 +0100 Subject: lib/*.php: should not require_once ../init.php - else it cannot be included from the parent directory --- lib/helper.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/helper.php') 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 = ""; -- cgit v1.2.3