Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2018-06-19 13:42:59 -0400
committerTyler Dence <tyzoid.d@gmail.com>2018-06-19 13:42:59 -0400
commit9d5b807d4944fa05c68fd38be1f9705f40137238 (patch)
tree2945adcd6fa5a2cb8485060c2a2bc57b27fbb290 /packages
parent0f244f5cd391dcbf9d627f7dcb99ce54090fe858 (diff)
Changed requires to require_once's
Diffstat (limited to 'packages')
-rw-r--r--packages/index.php6
-rw-r--r--packages/pkginfo.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/index.php b/packages/index.php
index bb59503..fb88b22 100644
--- a/packages/index.php
+++ b/packages/index.php
@@ -1,8 +1,8 @@
<?php
-require "../init.php";
+require_once "../init.php";
-require BASE . "/lib/mysql.php";
-require BASE . "/lib/style.php";
+require_once BASE . "/lib/mysql.php";
+require_once BASE . "/lib/style.php";
foreach (array("bugs","sort","del") as $expected_param)
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index e76bcec..b29d8cf 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -1,8 +1,8 @@
<?php
-require "../init.php"
+require_once "../init.php"
-require BASE . "/lib/mysql.php";
-require BASE . "/lib/style.php";
+require_once BASE . "/lib/mysql.php";
+require_once BASE . "/lib/style.php";
$json_content = json_decode(
file_get_contents(