コード例 #1
0
 public static function getAdmins()
 {
     try {
         $file = fopen(Admin::csvUrl(), 'r');
         $emails = fgetcsv($file);
         fclose($file);
         return $emails;
     } catch (Exception $e) {
         return [];
     }
 }