From: Leandro Lucarella Date: Thu, 5 May 2005 02:14:32 +0000 (+0000) Subject: IdentaciĆ³n. X-Git-Tag: svn_import~78 X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/commitdiff_plain/77f19d6b8f8144ed33498ea04e69707f67fef240?ds=inline IdentaciĆ³n. --- diff --git a/src/lib/file.admins.php b/src/lib/file.admins.php index 9e1ac91..74498c9 100644 --- a/src/lib/file.admins.php +++ b/src/lib/file.admins.php @@ -15,7 +15,7 @@ */ function file_admins_check() { - return count(@file('data/admins.txt')) > 1; + return count(@file('data/admins.txt')) > 1; } /** diff --git a/src/lib/file.php b/src/lib/file.php index 2e3b403..ab50b24 100644 --- a/src/lib/file.php +++ b/src/lib/file.php @@ -65,7 +65,7 @@ function fgetallcsv($filename, $delim = ',') */ function fsearchcsv($filename, $what, $id = 0, $delim = ',') { - if (($f = fopen($filename, 'r')) === false) return false; + if (($f = fopen($filename, 'r')) === false) return false; while (!feof($f)) { $d = fgetcsv($f, 4096);