Hi guys, I was having a little problem implementing Static Publisher my local Windows machine. The error was a notice that BASE_URL was not being defined and so the static-main.php script jumped to main.php.
My solution was to replace line 45 of static-main.php with this:
$urlSegmentToRemove = str_replace('\\', '/', str_replace('\\\\', '\\', substr($path, strlen(BASE_PATH))));
I don't know if it's the cleaner way to do it but I got it to work that way and doesn't seem to mess anything on a Linux env.
If you have any comments to improve this, they're welcome. Otherwise I hope this can help someone having the same issues.