Skip to content

set_include_path cannot override php_admin_value include_path #1312

robocoder opened this Issue Apr 23, 2010 · 3 comments

1 participant


Since php 5.2.5, set_include_path cannot override an include path set using php_admin_value. Some hosting providers haven't clued in.

  • remove require_once from Zend Framework (continuation of #803)
  • change include/require in libs/HTML and libs/Smarty to not depend on include path

[2117], refs #1312 - replace Zend_Loader::isReadable() with simple is_readable() since paths are absolute; reduce core dependencies on Zend_Loader


(In [2118]) fixes #1312

  • index.php, piwik.php - no longer set include path
  • libs/Zend - comment out require_once per n/performance.classloading.html
  • libs/Zend - comment out some redundant Zend_Loader::loadClass() calls
  • libs/HTML - use absolute include paths
  • libs/open-flash-chart/php-ofc-library - use absolute include paths

[2119] fixes a couple of unit tests

@robocoder robocoder added this to the Piwik 0.6 milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.