Ignore:
Timestamp:
2011/01/20 04:24:30 (13 years ago)
Author:
Seasoft
Message:

#834(パスに関わるパラメータ名が不適切)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/util/SC_Utils.php

    r19998 r20001  
    21252125     */ 
    21262126    function sfGetPluginInfoArray($path) { 
    2127         return (array)include_once(PLUGIN_PATH . "$path/plugin_info.php"); 
     2127        return (array)include_once(PLUGIN_REALDIR . "$path/plugin_info.php"); 
    21282128    } 
    21292129 
     
    21362136     */ 
    21372137    function sfGetPluginsXml() { 
    2138         return simplexml_load_file(PLUGIN_PATH . 'plugins.xml'); 
     2138        return simplexml_load_file(PLUGIN_REALDIR . 'plugins.xml'); 
    21392139    } 
    21402140 
     
    21532153        if (strlen($xml) == 0) SC_Utils_Ex::sfDispException(); 
    21542154 
    2155         $return = file_put_contents(PLUGIN_PATH . 'plugins.xml', $pluginsXml->asXML()); 
     2155        $return = file_put_contents(PLUGIN_REALDIR . 'plugins.xml', $pluginsXml->asXML()); 
    21562156        if ($return === false) SC_Utils_Ex::sfDispException(); 
    21572157        return $return; 
Note: See TracChangeset for help on using the changeset viewer.