* If run in container, no need check ok.txt.

This commit is contained in:
Lufei
2022-11-30 11:19:31 +08:00
parent c71b65d8b0
commit 35b4ba9e92
+2
View File
@@ -2365,6 +2365,8 @@ EOD;
*/
public function checkSafeFile()
{
if($this->app->isContainer()) return false;
if($this->app->getModuleName() == 'upgrade' and $this->session->upgrading) return false;
$statusFile = $this->app->getAppRoot() . 'www' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'ok.txt';