lrsjng/h5ai — pull request #33 by Mastermnd (2012-01-01 13:17:06+00:00)
Title: Modifications needed to fix problems under Windows OS.

These changes fix problems due to the nature of dirname() on Windows and replaced "/" in paths for DIRECTORY_SEPARATOR.

Issues fixed:
- Out of memory error on crumb.php due to infinite loop
- Max execution time exceeded problem on tree.php due to infinite loop
- Attempting to access directories outside of the document root in tree.php due to incorrect base path check (desired side effect from the previous issue fix)

Tested on:
- Win7 x64, Apache 2.2.21 (apache lounge). PHP 5.3.6 (both mod_php and FastCGI)
- Ubuntu Linux (Desktop) 11.10 with the lamp tasksel package.