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

Already on GitHub? Sign in to your account

BUG More specific i18n include paths to avoid Zend_Loader problems #904

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Owner

chillu commented Oct 29, 2012

The problem surfaced for configurations where include_path
didn't include the current directory.
See http://www.silverstripe.org/installing-silverstripe/show/20224
for details.

BUG More specific i18n include paths to avoid Zend_Loader problems
The problem surfaced for configurations where include_path
didn't include the current directory.
See http://www.silverstripe.org/installing-silverstripe/show/20224
for details.
Contributor

stojg commented Nov 1, 2012

I wonder is it a viable solution to add search for the Class in the current directory to the ClassLoader::loadClass(), or will Zend ignore that even though both Zend and Framework are using spl_autoload_register()?

Maybe it doesn't work like that due to current working directory.

another option: set_include_path('.'.PATH_SEPARATOR.get_include_path());

Owner

chillu commented Nov 1, 2012

Right, yeah I think set_include_path() is the way to go - its an implicit assumption in the framework at the moment. See silverstripe#916

@chillu chillu closed this Nov 1, 2012

stojg pushed a commit to stojg/sapphire that referenced this pull request Jul 24, 2014

Merge pull request #904 from srizzling/is/cms/892
Added new step Pages can be editable by
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment