phpDocumentor myPHP
[ class tree: myPHP ] [ index: myPHP ] [ all elements ]

Procedural File: init.php

Source Location: /myphp-1.9/init.php

Page Details

Init of the myPHP packages.

This is the global init file for all the packages in the myPHP system. This is where all the different packages are initialized.

Version:  1.9
Since:  21-oct-2005
Author:  http://Finn-Rasmussen.com
License:  myPHP License conditions
See:  PORTAL_PATH.CURRENT_MYPHP_VERSION/init.php
Copyright:  (c) http://Finn-Rasmussen.com
Filesource:  Source Code for this file
Includes
require (DEFAULT_DOMAIN_NAME.'-'.LANGUAGE.'-'.DEFAULT_CONFIG_FILE_NAME) [line 49]

The Config File, if exists, search order

domain-language-config.php domain-config.php language-config.php config.php

API Tags:
See:  DEFAULT_CONFIG_FILE_NAME, The Config File

[ Top ]

require (DEFAULT_DOMAIN_NAME.'-'.DEFAULT_CONFIG_FILE_NAME) [line 52]
[ Top ]

require (LANGUAGE.'-'.DEFAULT_CONFIG_FILE_NAME) [line 55]
[ Top ]

require (DEFAULT_CONFIG_FILE_NAME) [line 58]
[ Top ]

require_once (PROJECT_PATH.'/site-'.CURRENT_VERSION.'.php') [line 108]

root/site-version.php Initialize the project site-version.php, FIXED, do not change ...

The root/site-version.php must come before Setup-version.php

API Tags:
See:  PROJECT_PATH.'/site-version.php' The setup of the Site

[ Top ]

require_once (PROJECT_PATH.'/setup-'.CURRENT_VERSION.'.php') [line 120]

root/setup-version.php Initialize the project setup-version.php, FIXED, do not change ...

The root/setup-version.php must come before XXX_PATH/Setup.php

API Tags:
See:  PROJECT_PATH.'/setup-version.php' The setup of the Site

[ Top ]

require_once (MYPHP_BASE_PATH.'/init.php') [line 28]

This package is always required and MUST be run Initialize the myPHP BASE Package, FIXED, do not change ...

API Tags:
See:  MYPHP_BASE_PATH.'/init.php' The Base Package

[ Top ]

require_once (DEFAULT_MENU_TAB_PATH.'/'.DEFAULT_CONFIG_FILE_NAME) [line 75]

root/tab/xx/config.php Initialize the local tab config, FIXED, do not change ...

The DEFAULT_MENU_TAB_PATH.'/'.DEFAULT_CONFIG_FILE_NAME must come after the ./config.php

API Tags:
See:  DEFAULT_MENU_TAB_PATH.'/'.DEFAULT_CONFIG_FILE_NAME The Local tab config for this page only

[ Top ]

require_once (HTML_BASE_RESOURCE_PATH.'/Setup.php') [line 156]

Setup of Base HTML Initialize the final Base Setup, FIXED, do not change ...

API Tags:
See:  HTML_BASE_RESOURCE_PATH.'/Setup.php', The Base Setup Package

[ Top ]

require_once (HTML_LANGUAGE_RESOURCE_PATH.'/Setup.php') [line 131]

Language Initialize the Language to use, FIXED, do not change ...

API Tags:
See:  HTML_LANGUAGE_RESOURCE_PATH.'/Setup.php', The Language Setup Package

[ Top ]

require_once (PORTAL_PATH.CURRENT_MYPHP_VERSION.DEFAULT_PAGE_INIT_FILE_NAME) [line 36]

The Init of the whole myPHP system, FIXED, do not change ...

API Tags:
See:  PORTAL_PATH.CURRENT_MYPHP_VERSION.DEFAULT_PAGE_INIT_FILE_NAME The Init of the different myPHP modules

[ Top ]


Constants
INC_PATH  [line 168]

INC_PATH = '.'

Initialize the Inc Path, if not already done

The INC_PATH my already been defined as a request param or may be defined in the local confi or setup file

API Tags:
Global:  INC_PATH 0: Include Path for the templates


[ Top ]

LANGUAGE  [line 140]

LANGUAGE = DEFAULT_PAGE_LANGUAGE

LANGUAGE

This is the default language to use

API Tags:
Global:  LANGUAGE 0: The Language to use


[ Top ]

MYPHP_BASE_PATH  [line 20]

MYPHP_BASE_PATH = MYPHP_BASE_NAME
API Tags:
Global:  MYPHP_BASE_PATH 0: The Base package is always REQUIRED. Defines the Include Path for each package, FIXED, do not change ...


[ Top ]



Documentation generated on Thu, 22 Dec 2005 17:11:47 +0100 by phpDocumentor 1.3.0RC3