1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-30 09:39:51 +02:00

Compile adminer to "export" directory

This commit is contained in:
Peter Knut
2025-01-25 00:16:06 +01:00
parent 44e59cd698
commit 0590d7d3ef
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -4,4 +4,4 @@
/**/compiled
/vendor/
/composer.lock
/temp
/export/

View File

@@ -520,8 +520,8 @@ $file = preg_replace('~"\.\./vendor/vrana/jush/modules/(jush\.js)"~', $replace,
$file = preg_replace("~<\\?php\\s*\\?>\n?|\\?>\n?<\\?php~", '', $file);
$file = php_shrink($file);
@mkdir("temp", 0777, true);
$filename = "temp/$project"
@mkdir("export", 0777, true);
$filename = "export/$project"
. (is_dev_version() ? "" : "-$VERSION")
. ($single_driver ? "-$single_driver" : "")
. ($single_language ? "-$single_language" : "")