mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 15:16:44 +02:00
Release 2.2.1
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1255 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -191,7 +191,7 @@ foreach (array("adminer", "editor") as $project) {
|
||||
$file = preg_replace("~<\\?php\\s*\\?>\n?|\\?>\n?<\\?php~", '', $file);
|
||||
$file = php_shrink($file);
|
||||
|
||||
$filename = $project . ($_SESSION["lang"] ? "-$_SESSION[lang]" : "") . ".php";
|
||||
$filename = $project . ($_SESSION["lang"] ? "-$_SESSION[lang]" : "") . ".php"; // "$project-$VERSION"
|
||||
fwrite(fopen($filename, "w"), $file); // file_put_contents() since PHP 5
|
||||
echo "$filename created.\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user