forked from science-ation/science-ation
Dont allow the user to change DBVERSION via the variables configuration
This commit is contained in:
parent
7fd17c8bbe
commit
bfbc33898b
@ -54,7 +54,7 @@
|
|||||||
echo "<tr><td colspan=\"3\"><h3>".i18n("Global configuration settings")."</h3></td></tr>";
|
echo "<tr><td colspan=\"3\"><h3>".i18n("Global configuration settings")."</h3></td></tr>";
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
if($r->var=="FAIRYEAR")
|
if($r->var=="FAIRYEAR" || $r->var=="DBVERSION")
|
||||||
{
|
{
|
||||||
echo "<tr><td>$r->var</td><td>".i18n($r->description)."</td><td>$r->val</td></tr>";
|
echo "<tr><td>$r->var</td><td>".i18n($r->description)."</td><td>$r->val</td></tr>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user