LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Go to the source code of this file.
Functions | |
load_template ( $directory) | |
Variables | |
if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) | else |
$root = $oneback | |
$level = 1 | |
load_template | ( | $directory | ) |
Load template information from the info.php of a given template into the DB.
string | Any valid directory |
@notice Keep in mind, that the variable-check is here the same as in File: admins/templates/install.php. The reason is, that it could be possible to call this function from another script/codeblock direct. So in thees circumstances where would no test at all, and the possibility to entry wrong data is given.
Definition at line 51 of file function.load_template.php.
$level = 1 |
Definition at line 25 of file function.load_template.php.
$root = $oneback |
Definition at line 24 of file function.load_template.php.
while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 22 of file function.load_template.php.