Skip to content

Commit

Permalink
fix path for phpcr in autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Mar 16, 2010
1 parent eae4955 commit c65ffeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jackalope/autoloader.php
Expand Up @@ -8,7 +8,7 @@
/** load a class named $class */
function jackalope_autoloader($class) {
if (0 === strpos($class, 'PHPCR_')) {
$incFile = dirname(__FILE__) . '/lib/' . str_replace("_", DIRECTORY_SEPARATOR, $class).".php";
$incFile = dirname(__FILE__) . '/../../lib/' . str_replace("_", DIRECTORY_SEPARATOR, $class).".php";
if (@fopen($incFile, "r", TRUE)) {
include($incFile);
return $incFile;
Expand Down

0 comments on commit c65ffeb

Please sign in to comment.