Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier installation/index.php

Espaces de nommage

namespace  Joomla\Installation

Variables

const _JEXEC (version_compare(PHP_VERSION, '5.2.4', '<')) = 1
const JPATH_BASE = dirname(__FILE__)
 $parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE)
const JPATH_ROOT = implode(DIRECTORY_SEPARATOR, $parts)
const JPATH_SITE = JPATH_ROOT
const JPATH_CONFIGURATION = JPATH_ROOT
const JPATH_ADMINISTRATOR = JPATH_ROOT . '/administrator'
const JPATH_LIBRARIES = JPATH_ROOT . '/libraries'
const JPATH_PLUGINS = JPATH_ROOT . '/plugins'
const JPATH_INSTALLATION = JPATH_ROOT . '/installation'
const JPATH_THEMES = JPATH_BASE
const JPATH_CACHE = JPATH_ROOT . '/cache'
const JPATH_MANIFESTS = JPATH_ADMINISTRATOR . '/manifests'
 if (file_exists(JPATH_CONFIGURATION.'/configuration.php')&&(filesize(JPATH_CONFIGURATION.'/configuration.php') > 10)&&!file_exists(JPATH_INSTALLATION.'/index.php'))
 $app = JFactory::getApplication('installation')

Documentation des variables

$app = JFactory::getApplication('installation')
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE)
const _JEXEC(version_compare(PHP_VERSION, '5.2.4', '<')) = 1

Constant that is checked in included files to prevent direct access.

if(file_exists(JPATH_CONFIGURATION.'/configuration.php')&&(filesize(JPATH_CONFIGURATION.'/configuration.php') > 10)&&!file_exists(JPATH_INSTALLATION.'/index.php'))
const JPATH_ADMINISTRATOR = JPATH_ROOT . '/administrator'
const JPATH_CACHE = JPATH_ROOT . '/cache'
const JPATH_CONFIGURATION = JPATH_ROOT
const JPATH_INSTALLATION = JPATH_ROOT . '/installation'
const JPATH_LIBRARIES = JPATH_ROOT . '/libraries'
const JPATH_MANIFESTS = JPATH_ADMINISTRATOR . '/manifests'
const JPATH_PLUGINS = JPATH_ROOT . '/plugins'
const JPATH_ROOT = implode(DIRECTORY_SEPARATOR, $parts)
const JPATH_SITE = JPATH_ROOT
const JPATH_THEMES = JPATH_BASE