Created
July 7, 2015 07:54
-
-
Save bcremer/be55aca64e5acf061851 to your computer and use it in GitHub Desktop.
Shopware Standalone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require $PATH_TO_SHOPWARE . '/autoload.php'; | |
$environment = getenv('SHOPWARE_ENV') ?: getenv('REDIRECT_SHOPWARE_ENV') ?: 'production'; | |
$kernel = new Shopware\Kernel($environment, $environment !== 'production'); | |
$kernel->boot(); | |
$container = $kernel->getContainer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment