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 a47f762..d7ffbb8 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 16ce2ad..11c0cb4 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 0000000..af9cc44
--- /dev/null
+++ b/web/lib/version.inc
@@ -0,0 +1,3 @@
+<?php
+define( "AUR_VERSION", "<b>Version 1.4.0</b>" );
+?>