pr0blems / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

path separator for inclusion #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Bit in a hurry, but the problem should be obvious:
phpQuery.php:2677
// add plugins dir to include path
set_include_path(
    get_include_path().':'.dirname(__FILE__).'/plugins/'
);

Use PATH_SEPARATOR instead. Otherwise include path wont work on windows
systems.
Like this:
set_include_path(
    get_include_path().PATH_SEPARATOR.dirname(__FILE__).'/plugins/'
);

Original issue reported on code.google.com by andsens@gmail.com on 20 Oct 2008 at 1:14

GoogleCodeExporter commented 8 years ago
Duplicate of Issue #51. Fixed in 0.9.5 releases.

Original comment by tobiasz....@gmail.com on 20 Oct 2008 at 1:34