Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

set_include_path cannot override php_admin_value include_path #1312

Closed
robocoder opened this Issue · 3 comments

1 participant

Anthon Pang
Anthon Pang
Collaborator

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
Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

(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
Anthon Pang
Collaborator

[2119] fixes a couple of unit tests

Anthon Pang robocoder added this to the Piwik 0.6 milestone
Anthon Pang robocoder self-assigned this
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.