[eluser]Unknown[/eluser]
Actually, still could be a bug.
I prefer to keep my system_folder below webroot so I did
Code:
line 26: $system_folder = realpath(dirname(__FILE__) . "/../system");
which on windows creates
Code:
$system_folder = 'D:\xampplite\htdocs\ominian.com\system'
So
Code:
if (strpos($system_folder, '/') === FALSE )
evaluates as a false postive.
Modified line ~63 to read
Code:
if (strpos($system_folder, '/') === FALSE && strpos($system_folder, '\\') === FALSE)
Furthermore the entire condition clause makes the assumption that realpath is going to a / delimited path instead of \, which isn't true on windows.