示例#1
0
文件: console.php 项目: sfie/pimcore
#!/usr/bin/env php
<?php 
/**
 * Pimcore
 *
 * This source file is subject to the GNU General Public License version 3 (GPLv3)
 * For the full copyright and license information, please view the LICENSE.md and gpl-3.0.txt
 * files that are distributed with this source code.
 *
 * @copyright  Copyright (c) 2009-2016 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     GNU General Public License version 3 (GPLv3)
 */
define('PIMCORE_CONSOLE', true);
require_once 'startup.php';
$application = new Pimcore\Console\Application();
$application->run();
示例#2
0
#!/usr/bin/env php
<?php 
/**
 * Pimcore
 *
 * This source file is available under two different licenses:
 * - GNU General Public License version 3 (GPLv3)
 * - Pimcore Enterprise License (PEL)
 * Full copyright and license information is available in
 * LICENSE.md which is distributed with this source code.
 *
 * @copyright  Copyright (c) 2009-2016 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     GPLv3 and PEL
 */
ob_get_clean();
define('PIMCORE_CONSOLE', true);
require_once 'startup.php';
$application = new Pimcore\Console\Application();
$application->run($input);