tools/install.php

Go to the documentation of this file.
00001 <?php
00002 
00015 //$Id$
00016 
00017 require(dirname(__FILE__) . '/bootstrap.inc.php');
00018 
00019 import('cliTool.InstallTool');
00020 
00021 class OCSInstallTool extends InstallTool {
00026    function OCSInstallTool($argv = array()) {
00027       parent::InstallTool($argv);
00028    }
00029 
00035    function readParams() {
00036       AppLocale::requireComponents(array(LOCALE_COMPONENT_PKP_INSTALLER, LOCALE_COMPONENT_APPLICATION_COMMON, LOCALE_COMPONENT_PKP_USER));
00037       printf("%s\n", __('installer.ocsInstallation'));
00038 
00039       parent::readParams();
00040 
00041       $this->readParamBoolean('install', 'installer.installApplication');
00042 
00043       return $this->params['install'];
00044    }
00045 }
00046 
00047 $tool = new OCSInstallTool(isset($argv) ? $argv : array());
00048 $tool->execute();
00049 
00050 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7