mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 23:45:38 +08:00
codecanyon theme install
This commit is contained in:
parent
afdd7edafa
commit
da44e3f6da
1 changed files with 4 additions and 4 deletions
|
@ -69,11 +69,11 @@ switch ($action) {
|
|||
$zip->close();
|
||||
//moving
|
||||
if (file_exists($target . 'plugin')) {
|
||||
File::copyFolder($target . 'plugin', File::pathFixer('system/plugin/'), ['license.txt', 'changelog.txt', 'install.txt']);
|
||||
File::copyFolder($target . 'plugin', File::pathFixer('system/plugin/'));
|
||||
} else if (file_exists($target . 'paymentgateway')) {
|
||||
File::copyFolder($target . 'paymentgateway', File::pathFixer('system/plugin/'), ['license.txt', 'changelog.txt', 'install.txt']);
|
||||
} else if (file_exists($target . 'themes')) {
|
||||
File::copyFolder($target . 'themes', File::pathFixer('ui/themes/'), ['license.txt', 'changelog.txt', 'install.txt']);
|
||||
File::copyFolder($target . 'paymentgateway', File::pathFixer('system/plugin/'));
|
||||
} else if (file_exists($target . 'theme')) {
|
||||
File::copyFolder($target . 'theme', File::pathFixer('ui/themes/'));
|
||||
}
|
||||
//Cleaning
|
||||
File::deleteFolder($target);
|
||||
|
|
Loading…
Reference in a new issue