Skip to content

Commit

Permalink
updating to fix autoloading for some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
boekhorstb1 authored Dec 1, 2022
1 parent d19bbd4 commit 81a8a11
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rampage.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
require_once dirname(__FILE__, 3) . '/vendor/autoload.php';
if (is_dir(dirname(__FILE__, 3) . '/vendor')) {
require_once dirname(__FILE__, 3) . '/vendor/autoload.php';
} elseif (is_dir(dirname(__FILE__, 4) . '/vendor')) {
require_once dirname(__FILE__, 4) . '/vendor/autoload.php';
}
require_once dirname(__FILE__) . '/lib/core.php';
Horde\Core\RampageBootstrap::run();
Horde\Core\RampageBootstrap::run();

0 comments on commit 81a8a11

Please sign in to comment.