diff --git a/web/html/account.php b/web/html/account.php index c07d2f99..e8a32181 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include('aur.inc'); # access AUR common functions +include_once('aur.inc'); # access AUR common functions include_once('acctfuncs.inc'); # access Account specific functions set_lang(); # this sets up the visitor's language diff --git a/web/html/addvote.php b/web/html/addvote.php index e5fe9450..53044c0b 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc"); +include_once("aur.inc"); set_lang(); check_sid(); html_header(); diff --git a/web/html/index.php b/web/html/index.php index 3918d958..33c39eb7 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -2,11 +2,11 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc"); +include_once("aur.inc"); set_lang(); check_sid(); -include('stats.inc'); +include_once('stats.inc'); html_header( __("Home") ); diff --git a/web/html/logout.php b/web/html/logout.php index 88a1e268..14c652e2 100644 --- a/web/html/logout.php +++ b/web/html/logout.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc"); # access AUR common functions +include_once("aur.inc"); # access AUR common functions include_once("acctfuncs.inc"); # access AUR common functions diff --git a/web/html/packages.php b/web/html/packages.php index 5b2d5ef4..ace45995 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -2,10 +2,10 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc"); # access AUR common functions -set_lang(); # this sets up the visitor's language -include('pkgfuncs.inc'); # package specific functions -check_sid(); # see if they're still logged in +include_once("aur.inc"); # access AUR common functions +set_lang(); # this sets up the visitor's language +include_once('pkgfuncs.inc'); # package specific functions +check_sid(); # see if they're still logged in # Set the title to the current query if required if (isset($_GET['ID'])) { diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php index 5a711d04..fede693f 100644 --- a/web/html/pkgedit.php +++ b/web/html/pkgedit.php @@ -2,8 +2,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc"); # access AUR common functions -include("pkgfuncs.inc"); # use some form of this for i18n support +include_once("aur.inc"); # access AUR common functions +include_once("pkgfuncs.inc"); # use some form of this for i18n support set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in html_header(); # print out the HTML header diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index a3394af5..0f7b4495 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -1,13 +1,13 @@