Menu

#114 Prevent problems with base_url under windows

closed-fixed
None
5
2007-05-04
2007-05-03
Tim Gerundt
No

PHP has a buggy behavior under Windows with the pathinfo() function. If you have a path without a subdirectory (e.g. "/index.php") the function returns a "\" instead of "/" as dirname value.
It submitted a bug report to PHP <http://bugs.php.net/bug.php?id=41262>, but they think it is not a bug. :-(

NOCC stumble over this bug, when you install it on the root directory from a webserver under Windows (like I on my dev machine).

This patch prevent the buggy behavior from PHP.

Greetings,
Tim

Discussion

  • Tim Gerundt

    Tim Gerundt - 2007-05-03

    original, altered and diff file

     
  • Anonymous

    Anonymous - 2007-05-04
    • assigned_to: nobody --> goddess_skuld
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2007-05-04

    Logged In: YES
    user_id=529507
    Originator: NO

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the patch.

     

Log in to post a comment.

Auth0 Logo