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

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

Closed
wants to merge 1 commit into from

Conversation

chillu
Copy link
Member

@chillu 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.

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.
@stojg
Copy link

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());

@chillu
Copy link
Member Author

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 #916

@chillu chillu closed this Nov 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants