예제 #1
0
 public function getFillingPercentage()
 {
     if (PHP_SAPI == 'cli') {
         return 0;
     }
     return parent::getFillingPercentage();
 }
예제 #2
0
 public function getFillingPercentage()
 {
     if (php_sapi_name() == 'cli') {
         return 0;
     }
     return parent::getFillingPercentage();
 }