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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,4 +4,4 @@
|
||||
/**/compiled
|
||||
/vendor/
|
||||
/composer.lock
|
||||
/temp
|
||||
/export/
|
||||
|
@@ -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" : "")
|
||||
|
Reference in New Issue
Block a user