Support » Plugin: SM Debug Bar » [Plugin: SM Debug Bar] Does not run on Windows

  • Resolved JochenT

    (@jochent)


    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.

    http://wordpress.org/extend/plugins/sm-debug-bar/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SM Debug Bar] Does not run on Windows’ is closed to new replies.