* finish task #40292.

This commit is contained in:
wangyidong
2021-07-16 11:45:43 +08:00
parent 425280996a
commit f2620f53ec
+1 -1
View File
@@ -336,7 +336,7 @@ class backup extends control
if($statusFile)
{
$this->app->loadLang('extension');
$this->view->error = sprintf($this->lang->extension->noticeOkFile, preg_replace('/^' . str_replace('/', '\\/', dirname($this->app->getBasePath()) . DS) . '/', '', $statusFile));
$this->view->error = sprintf($this->lang->extension->noticeOkFile, str_replace(dirname($this->app->getBasePath()) . DS, '', $statusFile));
die($this->display());
}