ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
_autoload.php
Go to the documentation of this file.
1 <?php
2 
11 // SSP is loaded as a separate project
12 if (file_exists(dirname(dirname(__FILE__)).'/vendor/autoload.php')) {
13  require_once dirname(dirname(__FILE__)).'/vendor/autoload.php';
14 } else { // SSP is loaded as a library
15  if (file_exists(dirname(dirname(__FILE__)).'/../../autoload.php')) {
16  require_once dirname(dirname(__FILE__)).'/../../autoload.php';
17  } else {
18  throw new Exception('Unable to load Composer autoloader');
19  }
20 }