* Modify the upgrade prompt language.

This commit is contained in:
tianshujie
2022-03-18 09:39:09 +08:00
parent 13102d5b80
commit 8a7b6bcd2f
2 changed files with 1 additions and 2 deletions

View File

@@ -5869,7 +5869,6 @@ class upgradeModel extends model
if(!mkdir($dirRoot, 0777, true))
{
$response['result'] = 'fail';
$response['message'] = $this->lang->upgrade->moveEXTFileFail;;
$response['command'] = 'chmod o=rwx -R '. $this->app->appRoot . 'extension/custom';
return $response;

View File

@@ -33,7 +33,7 @@
</div>
<div class='modal-footer text-center'>
<?php if($result == 'success') echo html::submitButton($lang->upgrade->next);?>
<?php if($result == 'fail') echo $lang->upgrade->afterDeleted . ' ' . html::a('#', $this->lang->refresh, '', "class='btn btn-sm' onclick='refreshPage()'");?></div>
<?php if($result == 'fail') echo $lang->upgrade->moveEXTFileFail . ' ' . html::a('#', $this->lang->refresh, '', "class='btn btn-sm' onclick='refreshPage()'");?></div>
</div>
</div>
</form>