public static function getAimeos() { if (!isset(self::$aimeos)) { require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'Bootstrap.php'; self::$aimeos = new \Aimeos\Bootstrap(array(), false); } return self::$aimeos; }
public static function getAimeos() { if (!isset(self::$aimeos)) { require_once 'Bootstrap.php'; spl_autoload_register('Aimeos\\Bootstrap::autoload'); $extdir = dirname(dirname(dirname(dirname(__FILE__)))); self::$aimeos = new \Aimeos\Bootstrap(array($extdir), true); } return self::$aimeos; }
private static function getAimeos() { if (!isset(self::$aimeos)) { require_once 'Bootstrap.php'; spl_autoload_register('Aimeos::autoload'); $extdir = dirname(dirname(dirname(__DIR__))); self::$aimeos = new \Aimeos\Bootstrap(array($extdir), false); } return self::$aimeos; }