index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/index.php | 6 | ||||
-rw-r--r-- | packages/pkginfo.php | 6 |
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( |