服务器管理员正在阻止执行 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