Changeset 15969
- Timestamp:
- 2007/09/24 10:57:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/module/MDB2.php
r15963 r15969 927 927 { 928 928 // safe_mode does notwork with is_readable() 929 /*930 929 if (!@ini_get('safe_mode')) { 931 930 $dirs = explode(PATH_SEPARATOR, ini_get('include_path')); … … 942 941 return true; 943 942 } 944 }945 return false;946 */947 $fp = @fopen($file, 'r', true);948 if (is_resource($fp)) {949 @fclose($fp);950 return true;951 943 } 952 944 return false;
Note: See TracChangeset
for help on using the changeset viewer.