Changeset 20001 for branches/version-2_5-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2011/01/20 04:24:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/util/SC_Utils.php
r19998 r20001 2125 2125 */ 2126 2126 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"); 2128 2128 } 2129 2129 … … 2136 2136 */ 2137 2137 function sfGetPluginsXml() { 2138 return simplexml_load_file(PLUGIN_ PATH. 'plugins.xml');2138 return simplexml_load_file(PLUGIN_REALDIR . 'plugins.xml'); 2139 2139 } 2140 2140 … … 2153 2153 if (strlen($xml) == 0) SC_Utils_Ex::sfDispException(); 2154 2154 2155 $return = file_put_contents(PLUGIN_ PATH. 'plugins.xml', $pluginsXml->asXML());2155 $return = file_put_contents(PLUGIN_REALDIR . 'plugins.xml', $pluginsXml->asXML()); 2156 2156 if ($return === false) SC_Utils_Ex::sfDispException(); 2157 2157 return $return;
Note: See TracChangeset
for help on using the changeset viewer.