public
Last active

  • Download Gist
marcioAlmada revised this gist . 1 changed file with 1 addition and 5 deletions. View gist @ 56da13f
AspectKernelLoader.php
6 
... 4 5 6 7 8 9 10 11   12 13 14 ... 4 5 6           7 8 9 10
@@ -4,11 +4,7 @@
include 'ApplicationAspectKernel.php';
ApplicationAspectKernel::getInstance()->init(array(
- 'autoload' => array(
- 'Go' => realpath(__DIR__ . '/../vendor/lisachenko/go-aop-php/src/'),
- 'TokenReflection' => realpath(__DIR__ . '/../vendor/andrewsville/php-token-reflection/'),
- 'Doctrine\\Common' => realpath(__DIR__ . '/../vendor/doctrine/common/lib/')
- ),
+ 'autoload' => array(),
'appDir' => __DIR__ . '/.',
'cacheDir' => null,
'includePaths' => array(),
marcioAlmada created this gist . View gist @ cd126fd
AspectKernelLoader.php
16 
...                                   ... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  
@@ -0,0 +1,16 @@
+<?php
+
+include __DIR__ . '/../vendor/autoload.php';
+include 'ApplicationAspectKernel.php';
+
+ApplicationAspectKernel::getInstance()->init(array(
+ 'autoload' => array(
+ 'Go' => realpath(__DIR__ . '/../vendor/lisachenko/go-aop-php/src/'),
+ 'TokenReflection' => realpath(__DIR__ . '/../vendor/andrewsville/php-token-reflection/'),
+ 'Doctrine\\Common' => realpath(__DIR__ . '/../vendor/doctrine/common/lib/')
+ ),
+ 'appDir' => __DIR__ . '/.',
+ 'cacheDir' => null,
+ 'includePaths' => array(),
+ 'debug' => true
+));
\ No newline at end of file
Something went wrong with that request. Please try again.