Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1312 closed Bug (fixed)

set_include_path cannot override php_admin_value include_path

Reported by: vipsoft Owned by: vipsoft
Priority: major Milestone: Piwik 0.6
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (3)

comment:1 Changed 4 years ago by vipsoft (robocoder)

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

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2118]) fixes #1312

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

comment:3 Changed 4 years ago by vipsoft (robocoder)

[2119] fixes a couple of unit tests

Note: See TracTickets for help on using tickets.