add proxy server command and update lowest version of PHP >= 8.0

This commit is contained in:
crazywhalecc
2022-11-03 10:18:17 +08:00
parent 6b34427855
commit 35dec947df
49 changed files with 826 additions and 301 deletions

View File

@@ -4,7 +4,6 @@ declare(strict_types=1);
namespace ZM\Store;
use RuntimeException;
use ZM\Utils\ZMUtil;
class FileSystem
@@ -85,7 +84,7 @@ class FileSystem
public static function createDir(string $path): void
{
if (!is_dir($path) && !mkdir($path, 0777, true) && !is_dir($path)) {
throw new RuntimeException(sprintf('无法建立目录:%s', $path));
throw new \RuntimeException(sprintf('无法建立目录:%s', $path));
}
}