示例#1
0
 public function displayTemplate($template, $get_output = false, $path = null)
 {
     parent::displayTemplate($template, false, _PS_INSTALL_PATH_ . 'dev/');
 }
示例#2
0
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <*****@*****.**>
*  @copyright  2007-2015 PrestaShop SA
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'init.php';
try {
    require_once _PS_INSTALL_PATH_ . 'classes' . DIRECTORY_SEPARATOR . 'controllerHttp.php';
    InstallControllerHttp::execute();
} catch (PrestashopInstallerException $e) {
    $e->displayMessage();
}
示例#3
0
 private function initSteps()
 {
     $stepConfig = array(array('name' => 'welcome', 'displayName' => $this->translator->trans('Choose your language', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpWelcome'), array('name' => 'license', 'displayName' => $this->translator->trans('License agreements', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpLicense'), array('name' => 'system', 'displayName' => $this->translator->trans('System compatibility', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpSystem'), array('name' => 'configure', 'displayName' => $this->translator->trans('Store information', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpConfigure'), array('name' => 'database', 'displayName' => $this->translator->trans('System configuration', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpDatabase'), array('name' => 'process', 'displayName' => $this->translator->trans('Store installation', array(), 'Install'), 'controllerClass' => 'InstallControllerHttpProcess'));
     self::$steps = new StepList($stepConfig);
 }