Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
include_path-related things.
  • Loading branch information
kakserpom committed Mar 30, 2011
1 parent 4f35a90 commit 2840963
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/phpd
Expand Up @@ -11,7 +11,11 @@

error_reporting(E_ALL);

chdir(dirname(dirname(__FILE__)));
foreach (array('/usr/share/phpdaemon', dirname(dirname(__FILE__))) as $d) {
if (@chdir($d)) {
break;
}
}

ini_set('include_path', get_include_path()
. ':' . dirname(dirname(__FILE__))
Expand Down

0 comments on commit 2840963

Please sign in to comment.