Welcome Guest, Not a member yet? Register   Sign In
Composer not loading from php include dir
#3

(This post was last modified: 06-15-2015, 08:08 PM by gdhnz.)

Interesting wording using "should". Does that imply it has to be 5.2.4?

Would it be ok to add a pull request like either of the following or are cross-version workarounds frowned upon?

PHP Code:
if ($composer_autoload === TRUE)
{
 ...
}
elseif (
file_exists($composer_autoload) || 
    
(function_exists("stream_resolve_include_path") && stream_resolve_include_path($composer_autoload)))
{
 ...
}
else{
 ...


or 

PHP Code:
if ($composer_autoload === TRUE)
{
...
}
elseif (
file_exists($composer_autoload))
{
...
}
elseif (
function_exists("stream_resolve_include_path") && stream_resolve_include_path($composer_autoload)))
{
 ...
}
else
{
...


PS, where is the requirements page linked from in the docs? Couldn't see it linked from any of the Instalation instruction pages.
Reply


Messages In This Thread
RE: Composer not loading from php include dir - by gdhnz - 06-15-2015, 08:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB