public static function setRoot($path) { self::$ROOT_PATH = $path; if (!file_exists($path)) { mkdir($path); } }