summaryrefslogtreecommitdiffstats
path: root/web/template/template.phps
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/template.phps')
-rw-r--r--web/template/template.phps4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/template.phps b/web/template/template.phps
index 7a86686..358bf52 100644
--- a/web/template/template.phps
+++ b/web/template/template.phps
@@ -2,10 +2,10 @@
# This template shows how a front page script is commonly coded.
-set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
include("aur.inc"); # access AUR common functions
-include("template_po.inc"); # use some form of this for i18n support
+include_lang('template_po.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