LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Inherits LEPTON_abstract.
Public Member Functions | |
accessFiles ( $newFileNames=array()) | |
getAllowedFiles () | |
getAdminDir () | |
testFile (string $sFilename="") | |
Public Member Functions inherited from LEPTON_abstract | |
getHeadInfo () | |
showmodinfo (array $modvalues=[], bool $bPrompt=true) | |
getEditorSettings () | |
getAdditionalClass (string $basename="settings", string $classname="") | |
Data Fields | |
$bCalledByModule = false | |
Data Fields inherited from LEPTON_abstract | |
const | NOT_SET_IN_INFO = "(unknown - not set in info.php)" |
array | $language = [] |
array | $parents = [] |
string | $module_directory = "" |
string | $module_name = "" |
string | $module_function = "" |
string | $module_version = "" |
string | $module_platform = "" |
int | $module_delete = 1 |
string | $module_author = "" |
string | $module_license = "" |
string | $module_license_terms = "" |
string | $module_description = "" |
string | $module_guid = "" |
string | $module_home = "" |
Static Public Attributes | |
static | $instance |
Static Public Attributes inherited from LEPTON_abstract | |
static | $instance |
Protected Member Functions | |
initialize () | |
Protected Member Functions inherited from LEPTON_abstract | |
getParents () | |
getModuleInfo () | |
getLanguageFile () | |
getMainClassNames ( $sAnyClassname) | |
Additional Inherited Members | |
Static Public Member Functions inherited from LEPTON_abstract | |
static | getInstance (mixed $value=null) |
static | saveLastEditSection (int $iSectionID=0) |
static | getConstants () |
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 20 of file lepton_secure.php.
accessFiles | ( | $newFileNames = array() | ) |
Replace the current internal list of allowed files with new ones.
array | A list of filenames (by default from the "called" module inside 'register_class_secure.php'. |
@notice call inside "register_class_secure.php" like e.g.
LEPTON_secure::getInstance()->accessFiles( $files_to_register );
Test if we reacht the maximum if repeated times ... or in other words have the max of folders searched and no "modules" directory found! So we "reset" the $prefix and break ... to avoid an endless repeat!
Definition at line 150 of file lepton_secure.php.
getAdminDir | ( | ) |
As the admin_directory is private we need this function to get the current value inside secure.php this time.
Definition at line 214 of file lepton_secure.php.
getAllowedFiles | ( | ) |
Returns the internal list of direct_access_allowed
Definition at line 203 of file lepton_secure.php.
|
protected |
Prepare/fill the internal "direct_access_allowed"
Reimplemented from LEPTON_abstract.
Definition at line 110 of file lepton_secure.php.
testFile | ( | string | $sFilename = "" | ) |
Test a filename against the internal filename-list.
string | A given filename/path - default is "". |
Definition at line 226 of file lepton_secure.php.
$bCalledByModule = false |
Definition at line 27 of file lepton_secure.php.
|
static |
Definition at line 24 of file lepton_secure.php.