OpenSencillo
2015.002
|
Public Member Functions | |
__construct () | |
authorized ($domains) | |
__destruct () | |
Data Fields | |
$info | |
Private Attributes | |
$authorized | |
$pid |
Definition at line 242 of file core_functions.php.
__construct | ( | ) |
Add default information about Sencillo
Definition at line 251 of file core_functions.php.
{ $this->info=array('CMS'=>'Sencillo', 'FWK'=>'Sencillo v15.002', 'ARN'=>'Bc.Peter Horváth, Mastery s.r.o. CEO and FOUNDER', 'CPY'=>'(c)COPYRIGHT 2011-'.date('Y').' Bc.Peter Horváth', 'DTC'=>'01.02.2015:00.00:00.002', 'PID'=>'ILLEGAL LICENCE! PLEASE CONTACT [email protected]'); }
__destruct | ( | ) |
Definition at line 287 of file core_functions.php.
{ }
authorized | ( | $ | domains | ) |
Definition at line 266 of file core_functions.php.
{ if(is_array($domains)) { $this->authorized=$domains; foreach($this->authorized as $value) { if($_SERVER['SERVER_NAME']==$value) { $this->pid=true; return $this->pid; } else { $this->pid=false; return $this->pid; } } } }
$authorized [private] |
Definition at line 245 of file core_functions.php.
$info |
Definition at line 244 of file core_functions.php.
$pid [private] |
Definition at line 246 of file core_functions.php.