Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-21

Incorrect params passed in set_include_path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Tests
    • None
    • Win XP, PHP 5.2.5, Maven 2.0.9, PHPUnit 3.2.17, Log4php checked out from svn head as of Nov 14th 2008

    Description

      In file:
      log4php/trunk/src/test/php/phpunit.php
      the line (line #33):
      set_include_path(LOG4PHP_DIR.':'.get_include_path());
      should be replaced with:
      set_include_path(LOG4PHP_DIR.PATH_SEPARATOR.get_include_path());
      according to http://www.php.net/manual/en/function.set-include-path.php.

      Tests failed on my system because my PATH_SEPARATOR is defined as ';' (semicolon)

      Attachments

        Activity

          People

            kurdalen Knut Urdalen
            icertejan Ion CERTEJAN
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: