Magento set_include_path()

时间:2012-07-29 01:41:30

标签: php magento-1.6

服务器管理员正在阻止执行magento“set_include_path”; 管理员坚持不启用此功能! 有什么方法可以解决这个问题吗?例如:用静态值替换这一行?

这会导致以下错误:

Warning: set_include_path() has been disabled for security reasons in /home/bluerose/public_html/app/Mage.php on line 48

Warning: include_once(Mage/Core/functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/bluerose/public_html/app/Mage.php on line 49

Warning: include_once() [function.include]: Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bluerose/public_html/app/Mage.php on line 49

Warning: include_once(Varien/Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/bluerose/public_html/app/Mage.php on line 50

Warning: include_once() [function.include]: Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bluerose/public_html/app/Mage.php on line 50

Fatal error: Class 'Varien_Autoload' not found in /home/bluerose/public_html/app/Mage.php on line 53

0 个答案:

没有答案