Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_include_path cannot override php_admin_value include_path #1312

Closed
robocoder opened this issue Apr 23, 2010 · 3 comments
Closed

set_include_path cannot override php_admin_value include_path #1312

robocoder opened this issue Apr 23, 2010 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@robocoder
Copy link
Contributor

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.

@robocoder
Copy link
Contributor Author

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

@robocoder
Copy link
Contributor Author

(In [2118]) fixes #1312

  • index.php, piwik.php - no longer set include path
  • libs/Zend - comment out require_once per http://www.zendframework.com/manual/e
    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

@robocoder
Copy link
Contributor Author

[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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant