fix: 감춰진 KVStorage의 initializer를 사용하는 코드 수정
This commit is contained in:
@@ -17,7 +17,7 @@ $result = [];
|
|||||||
|
|
||||||
$server = [];
|
$server = [];
|
||||||
|
|
||||||
$storage = new \sammo\KVStorage(RootDB::db(), 'git_path');
|
$storage = KVStorage::getStorage(RootDB::db(), 'git_path');
|
||||||
$serverGitPath = $storage->getAll();
|
$serverGitPath = $storage->getAll();
|
||||||
|
|
||||||
$rootServer = Util::array_last(ServConfig::getServerList())->getShortName();
|
$rootServer = Util::array_last(ServConfig::getServerList())->getShortName();
|
||||||
|
|||||||
+1
-1
@@ -178,7 +178,7 @@ $session = Session::requireLogin(null)->setReadOnly();
|
|||||||
$request = $_POST + $_GET;
|
$request = $_POST + $_GET;
|
||||||
|
|
||||||
$rootDB = RootDB::db();
|
$rootDB = RootDB::db();
|
||||||
$storage = new \sammo\KVStorage($rootDB, 'git_path');
|
$storage = KVStorage::getStorage($rootDB, 'git_path');
|
||||||
$tmpFile = 'd_log/arc.zip';
|
$tmpFile = 'd_log/arc.zip';
|
||||||
|
|
||||||
$v = new Validator($request);
|
$v = new Validator($request);
|
||||||
|
|||||||
Reference in New Issue
Block a user