forked from science-ation/science-ation
Wrap the db update script in <pre> tags so the output looks better for anyone that runs it through the webserver
This commit is contained in:
parent
db5b20d54a
commit
46c92e0f01
@ -2,6 +2,7 @@
|
||||
//include the config.inc.php
|
||||
//so we have the db connection info
|
||||
require("../data/config.inc.php");
|
||||
echo "<pre>\n";
|
||||
if(file_exists("db.code.version.txt"))
|
||||
{
|
||||
$dbcodeversion_file=file("db.code.version.txt");
|
||||
@ -71,5 +72,6 @@ else
|
||||
echo "ERROR: dbcodeversion and dbdbversion are not defined\n";
|
||||
}
|
||||
|
||||
echo "</pre>\n";
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user