Commit 22fcea23 authored by Paul Mattal's avatar Paul Mattal
Browse files

Tweak to version strings patch.

Rather than rely in any way on config.inc, which is expected to be edited
by the user and to persist across versions without change, the version
string definition is stored in version.inc and included from aur.inc.
parent 881b921e
......@@ -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");
......
......@@ -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
......
<?php
define( "AUR_VERSION", "<b>Version 1.4.0</b>" );
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment