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

Fixed issue with open basedir on windows #1828

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -246,7 +246,7 @@ public static function create($path = '', $mode = 0755)
{
$test = JPath::clean($test);
- if (strpos($path, $test) === 0)
+ if (strpos(strtolower($path), strtolower($test)) === 0)
{
$inBaseDir = true;
break;