Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/format.php1
-rw-r--r--lib/helper.php2
-rw-r--r--lib/mysql.php1
-rw-r--r--lib/style.php1
4 files changed, 0 insertions, 5 deletions
diff --git a/lib/format.php b/lib/format.php
index 00e8296..72cf531 100644
--- a/lib/format.php
+++ b/lib/format.php
@@ -4,7 +4,6 @@
if (function_exists("export_as_requested"))
return;
-require_once "../init.php";
include_once BASE . "/lib/http.php";
function export_as_requested($content) {
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 = "";
diff --git a/lib/mysql.php b/lib/mysql.php
index 19d0dae..c6d7fdf 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -4,7 +4,6 @@
if (isset($mysql))
return;
-require_once "../init.php";
include_once BASE . "/lib/http.php";
include_once BASE . "/lib/mysql-joins.php";
diff --git a/lib/style.php b/lib/style.php
index e8ad972..3527994 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -3,7 +3,6 @@
if (function_exists("print_header"))
return;
-require_once "../init.php";
require_once BASE . "/lib/mysql.php";
function print_header($title) {