summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
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(