1
0
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:
jakubvrana
2009-11-26 15:56:34 +00:00
parent 692510beef
commit a9f08f4d36
4 changed files with 4 additions and 4 deletions

View File

@@ -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";
}