N98\Util\Exec::allowed PHP 메소드

allowed() 공개 정적인 메소드

Exec class is allowed to run
public static allowed ( ) : boolean
리턴 boolean
    public static function allowed()
    {
        return function_exists('exec');
    }

Usage Example

예제 #1
0
 /**
  * @return bool
  */
 public function isEnabled()
 {
     return Exec::allowed();
 }