summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc1
-rw-r--r--web/lib/config.inc.proto2
-rw-r--r--web/lib/version.inc3
3 files changed, 4 insertions, 2 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index a47f7624..d7ffbb89 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -3,6 +3,7 @@ header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Tue, 11 Oct 1988 22:00:00 GMT'); // quite a special day
header('Pragma: no-cache');
+include_once("version.inc");
include_once("config.inc");
include_once("aur_po.inc");
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 16ce2add..11c0cb41 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -19,8 +19,6 @@ define( "USERNAME_MAX_LEN", 16 );
define( "PASSWD_MIN_LEN", 4 );
define( "PASSWD_MAX_LEN", 128 );
-define( "AUR_VERSION", "<b>Version 1.4.0</b>" );
-
$LOGIN_TIMEOUT = 7200; # number of idle seconds before timeout
# debugging variables
diff --git a/web/lib/version.inc b/web/lib/version.inc
new file mode 100644
index 00000000..af9cc447
--- /dev/null
+++ b/web/lib/version.inc
@@ -0,0 +1,3 @@
+<?php
+define( "AUR_VERSION", "<b>Version 1.4.0</b>" );
+?>