config.inc.php 315 B

12345678910111213
  1. <?php
  2. define("ALTPATH_ROOT", dirname(__FILE__) . '/');
  3. function altpathAutoloader($class)
  4. {
  5. if(file_exists(ALTPATH_ROOT . $class . '.class.php'))
  6. {
  7. require_once ALTPATH_ROOT . $class . '.class.php';
  8. }
  9. }
  10. spl_autoload_register("altpathAutoloader");
  11. require_once '/usr/local/code/3rdparty/vendor/autoload.php';