Ticket #1370: functions.php.diff
File functions.php.diff, 545 bytes (added by , 20 years ago) |
---|
-
functions.php
1548 1548 $themes_dir = @ dir($theme_root); 1549 1549 if ($themes_dir) { 1550 1550 while(($theme_dir = $themes_dir->read()) !== false) { 1551 if (is_dir($theme_root . '/' . $theme_dir) ) {1551 if (is_dir($theme_root . '/' . $theme_dir) && is_readable($theme_root . '/' . $theme_dir)) { 1552 1552 if ($theme_dir{0} == '.' || $theme_dir == '..' || $theme_dir == 'CVS') { 1553 1553 continue; 1554 1554 }