| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @version $Id: installer.php 14401 2010-01-26 14:10:00Z louis $ 5 * @package Joomla 6 * @subpackage Installation 7 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 8 * @license GNU/GPL, see LICENSE.php 9 * Joomla! is free software. This version may have been modified pursuant 10 * to the GNU General Public License, and as distributed it includes or 11 * is derivative of works licensed under the GNU General Public License or 12 * other free or open source software licenses. 13 * See COPYRIGHT.php for copyright notices and details. 14 */ 15 16 defined('_JEXEC') or die('Restricted access'); 17 18 $here = dirname(__FILE__); 19 require_once ( $here.DS.'controller.php'); 20 require_once ( $here.DS.'helper.php'); 21 22 // Get the controller 23 $config = array(); 24 25 // check on proper task: 26 // lang for installation 27 // removedir for remove directory message 28 if (file_exists( JPATH_CONFIGURATION . DS . 'configuration.php' ) && (filesize( JPATH_CONFIGURATION . DS . 'configuration.php' ) > 10) && file_exists( JPATH_INSTALLATION . DS . 'index.php' )) { 29 $config['default_task'] = 'removedir'; 30 } else { 31 $config['default_task'] = 'lang'; 32 } 33 $controller = new JInstallationController($config); 34 $controller->initialize(); 35 36 // Set some paths 37 $controller->addViewPath ( $here.DS.'views' ); 38 $controller->addModelPath( $here.DS.'models' ); 39 40 // Process the request 41 $task = JRequest::getCmd( 'task' ); 42 $controller->execute( $task );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |