Use the constant ... better
This commit is contained in:
parent
3c4e809939
commit
dc2cfe5160
|
@ -218,7 +218,7 @@ class JSONRenderer
|
||||||
$out ["containsBook"] = 1;
|
$out ["containsBook"] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database);
|
$out["abouturl"] = "index.php" . addURLParameter ("?page=" . Base::PAGE_ABOUT, DB, $database);
|
||||||
|
|
||||||
if ($page == Base::PAGE_ABOUT) {
|
if ($page == Base::PAGE_ABOUT) {
|
||||||
$temp = preg_replace ("/\<h1\>About COPS\<\/h1\>/", "<h1>About COPS " . VERSION . "</h1>", file_get_contents('about.html'));
|
$temp = preg_replace ("/\<h1\>About COPS\<\/h1\>/", "<h1>About COPS " . VERSION . "</h1>", file_get_contents('about.html'));
|
||||||
|
|
Loading…
Reference in a new issue