fix current arch setter
This commit is contained in:
Родитель
99efb73f17
Коммит
f4e3f68ce5
|
@ -41,11 +41,13 @@ class Config
|
|||
|
||||
public static function setCurrentArchName(string $arch) : void
|
||||
{/*{{{*/
|
||||
$arch = strtolower($arch);
|
||||
|
||||
if ("x64" != $arch && "x86" != $arch) {
|
||||
throw new Exception("Unknown arch keyword, either x86 or x64 is accepted");
|
||||
}
|
||||
|
||||
self::$currentArchName = "x64";
|
||||
self::$currentArchName = $arch;
|
||||
} /*}}}*/
|
||||
|
||||
public static function getCurrentArchName() : string
|
||||
|
|
Загрузка…
Ссылка в новой задаче