Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/horde-prefs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ use \Composer\InstalledVersions;

// Autoloader search run in composer setups
$autoloaders = [
$GLOBALS['_composer_autoload_path'] ?? null,
__DIR__ . '/../vendor/autoload.php', // prefs is the root package
__DIR__ . '/../../../../vendor/autoload.php', // prefs is in the vendor dir
// handle "git developer install" and pear cases
'Horde/Autoloader/Default.php'
];
$autoloaders = array_filter($autoloaders);

foreach ($autoloaders as $autoloader) {
if (file_exists($autoloader)) {
Expand Down
Loading