The calculation of the variable $currentWorkingFile only considers forward slashes. Windows uses back slashes instead. Thus the function explode() does not match. A more system independant approach may be:
$currentWorkingFile = basename(__FILE__); $cwdFullPath = dirname(__FILE__); $cwd = basename( $cwdFullPath);
I use this mod since several month and had no problems on Linux or Windows.
- The topic ‘[Plugin: SM Debug Bar] Does not run on Windows’ is closed to new replies.