Ignore:
Timestamp:
2009/07/15 22:01:04 (15 years ago)
Author:
Seasoft
Message:

PHP 5.1.6 での不具合対策
・フォーラムにて shasharaku 様、withwind 様からの報告。 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=4277&forum=9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/LC_Page.php

    r18187 r18191  
    253253        $path = str_replace('\\', '/', $path); 
    254254        $htmlPath = str_replace('\\', '/', HTML_PATH); 
     255         
     256        // PHP 5.1 対策 ( http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=4277&forum=9 ) 
     257        if (strlen($path) == 0) { 
     258            $path = '.'; 
     259        } 
    255260         
    256261        // $path が / で始まっている場合 
Note: See TracChangeset for help on using the changeset viewer.