public static function existsCss($file, $type) { $path = self::getCSSPath($type); if (file_exists($path . $file) && $file != '') { return $path . $file; } return false; }