Jelix 1.8.13

init.php

Initialize all defines and includes necessary files.

Tags
subpackage

core

author

Laurent Jouanneau

contributor

Loic Mathaud, Julien Issler

copyright

2005-2023 Laurent Jouanneau

copyright

2007 Julien Issler

see
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Interfaces, Classes and Traits

jIUrlSignificantHandler

Table of Contents

BYTECODE_CACHE_EXISTS  = \function_exists('opcache_compile_file') || \function_exists('apc_cache_info') || \function_exists('eaccelerator_info') || \function_exists('xcache_info')
JELIX_LIB_CORE_PATH  = \JELIX_LIB_PATH . 'core/'
JELIX_LIB_PATH  = __DIR__ . '/'
JELIX_LIB_UTILS_PATH  = \JELIX_LIB_PATH . 'utils/'
JELIX_NAMESPACE_BASE  = 'http://jelix.org/ns/'
JELIX_VERSION  = '1.8.13'
Initialize all defines and includes necessary files.
LIB_PATH  = \dirname(\JELIX_LIB_PATH) . '/'
jelix_autoload()  : mixed
function used by php to try to load an unknown class.
checkAppOpened()  : mixed
check if the application is opened. If not, it displays the yourapp/install/closed.html file with a http error (or lib/jelix/installer/closed.html), and exit.
checkAppNotInstalled()  : mixed
check if the application is not installed. If the app is installed, an error message appears and the scripts ends.
isAppInstalled()  : mixed

Constants

BYTECODE_CACHE_EXISTS

public mixed BYTECODE_CACHE_EXISTS = \function_exists('opcache_compile_file') || \function_exists('apc_cache_info') || \function_exists('eaccelerator_info') || \function_exists('xcache_info')
Tags

JELIX_LIB_CORE_PATH

public mixed JELIX_LIB_CORE_PATH = \JELIX_LIB_PATH . 'core/'
Tags

JELIX_LIB_PATH

public mixed JELIX_LIB_PATH = __DIR__ . '/'
Tags

JELIX_LIB_UTILS_PATH

public mixed JELIX_LIB_UTILS_PATH = \JELIX_LIB_PATH . 'utils/'
Tags

JELIX_NAMESPACE_BASE

public mixed JELIX_NAMESPACE_BASE = 'http://jelix.org/ns/'
Tags

JELIX_VERSION

Initialize all defines and includes necessary files.

public mixed JELIX_VERSION = '1.8.13'
Tags
subpackage

core

author

Laurent Jouanneau

contributor

Loic Mathaud, Julien Issler

copyright

2005-2023 Laurent Jouanneau

copyright

2007 Julien Issler

see
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

LIB_PATH

public mixed LIB_PATH = \dirname(\JELIX_LIB_PATH) . '/'
Tags

Functions

jelix_autoload()

function used by php to try to load an unknown class.

jelix_autoload(mixed $class) : mixed
Parameters
$class : mixed
Tags
Return values
mixed

checkAppOpened()

check if the application is opened. If not, it displays the yourapp/install/closed.html file with a http error (or lib/jelix/installer/closed.html), and exit.

checkAppOpened() : mixed

This function should be called in all entry point, before the creation of the coordinator.

Tags
see
jAppManager
todo

migrate the code to jAppManager or jApp

Return values
mixed

checkAppNotInstalled()

check if the application is not installed. If the app is installed, an error message appears and the scripts ends.

checkAppNotInstalled() : mixed

It should be called only by some scripts like an installation wizard, not by an entry point.

Tags
todo

migrate the code to jAppManager or jApp

Return values
mixed

isAppInstalled()

isAppInstalled() : mixed
Tags
todo

migrate the code to jAppManager or jApp

Return values
mixed

Search results