partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit b83b4c254e829fbdd0b306553fb263d202c062ac
parent 2f5cd9008ee878a9172c25db23ac24541480edc4
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 27 Aug 2013 17:41:36 +0200

Adjusted partkeepr.php to live in the Symfony2 environment. The CLI commands need to be moved to an own bundle.

Diffstat:
Mpartkeepr.php | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/partkeepr.php b/partkeepr.php @@ -1,10 +1,18 @@ <?php -namespace PartKeepr\Console; - +use Symfony\Component\ClassLoader\ApcClassLoader; +use Symfony\Component\HttpFoundation\Request; use PartKeepr\PartKeepr; +$loader = require_once __DIR__.'/app/bootstrap.php.cache'; + +require_once __DIR__.'/app/AppKernel.php'; + + include("src/backend/PartKeepr/PartKeepr.php"); +$kernel = new AppKernel('dev', false); +$kernel->loadClassCache(); + PartKeepr::initializeClassLoaders(); PartKeepr::initializeConfig();