controller/common/tests/TestHelperCntl.php 1 location
|
@@ 32-44 (lines=13) @@
|
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
public static function getAimeos() |
| 33 |
|
{ |
| 34 |
|
if( !isset( self::$aimeos ) ) |
| 35 |
|
{ |
| 36 |
|
require_once 'Bootstrap.php'; |
| 37 |
|
spl_autoload_register( 'Aimeos\\Bootstrap::autoload' ); |
| 38 |
|
|
| 39 |
|
$extdir = dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ); |
| 40 |
|
self::$aimeos = new \Aimeos\Bootstrap( array( $extdir ), true ); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
return self::$aimeos; |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
|
| 47 |
|
/** |
controller/jobs/tests/TestHelperJobs.php 1 location
|
@@ 32-44 (lines=13) @@
|
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
public static function getAimeos() |
| 33 |
|
{ |
| 34 |
|
if( !isset( self::$aimeos ) ) |
| 35 |
|
{ |
| 36 |
|
require_once 'Bootstrap.php'; |
| 37 |
|
spl_autoload_register( 'Aimeos\\Bootstrap::autoload' ); |
| 38 |
|
|
| 39 |
|
$extdir = dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ); |
| 40 |
|
self::$aimeos = new \Aimeos\Bootstrap( array( $extdir ), true ); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
return self::$aimeos; |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
|
| 47 |
|
public static function getControllerPaths() |