View Single Post
  #2  
Old 09-16-2005, 07:02 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
1) read
http://bugs.php.net/bug.php?id=33643

2) some solution
modify the code in index.php 793-804 from
PHP Code:
$dir "addons/";
if(
$handle opendir($dir)) {
    while (
false !== ($file readdir($handle))) {
        if(
$file != "." && $file != "..") {
            
$ftype strtolower(end(explode('.'$file)));
            if(
$ftype == "php") {
                include(
$dir.$file);
                }
            }
        }
    
closedir($handle);
    } 
to
PHP Code:
$dir "addons/";
if(
$handle opendir($dir)) {
    while (
false !== ($file readdir($handle))) {
        if(
$file != "." && $file != "..") {
$file_exploded explode('.'$file);
$file_ext end($file_exploded);
            
$ftype strtolower($file_ext);
            if(
$ftype == "php") {
                include(
$dir.$file);
                }
            }
        }
    
closedir($handle);
    } 
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote