选择语言 :

 Core_File::can_do_run

是否可以直接执行

boolean Core_File::can_do_run( string $storage )

参数列表

参数 类型 描述 默认值
$storage string $storage
返回值
  • boolean
File: ./core/classes/file.class.php
protected static function can_do_run($storage)
{
    return (IS_SYSTEM_MODE || 'none' == File::sync_mode() ||count(Core::config('web_server_list.' . $storage)) <= 1) ? true : false;
}