Beispiel #1
0
 protected function checkBrand($brandDir)
 {
     require_once __DIR__ . '/../lib.php';
     $brand = \brand::search($brandDir);
     if (!$brand) {
         $this->writeLog('not_brand', [$brandDir]);
     }
     return $brand;
 }