<file name="Components.php" role="php" />
</dir> <!-- /lib -->
<dir name="script">
- <file name="horde-components.php" role="script" />
+ <file name="horde-components.php" role="script">
+ <replace from="@php_dir@" to="php_dir" type="pear-config"/>
+ </file>
</dir> <!-- /script -->
<dir name="test">
<dir name="Components">
#!/usr/bin/env php
<?php
+if (strpos('@php_dir@', '@php_dir') === 0) {
+ set_include_path(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR . get_include_path());var_dump(get_include_path());
+}
+
require_once 'Horde/Autoloader/Default.php';
Components::main();