| Server IP : 31.214.178.114 / Your IP : 216.73.216.212 Web Server : Apache System : Linux hostingsrv84.dondominio.com 6.12.96+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.96-1 (2026-07-20) x86_64 User : ( 946130) PHP Version : 8.5.8 Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,mail,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /hosting/www/amppmadrid.es/public/sitepro/src/ |
Upload File : |
<?php
class SiteInfo {
/** @var string */
public $siteId;
/** @var string */
public $websiteUID;
/** @var string */
public $domain;
/** @var string */
public $prettyDomain;
/** @var int */
public $homePageId;
/** @var string */
public $baseDir;
/** @var string */
public $baseUrl;
/** @var string|null */
public $defLang;
/** @var string|null */
public $baseLang;
/** @var array */
public $langs;
/** @var array */
public $pages;
/** @var array */
public $forms;
/** @var bool */
public $modRewrite;
/** @var string */
public $gaCode;
/** @var bool */
public $gaAnonymizeIp;
/** @var int */
public $port;
/** @var string */
public $pathPrefix;
/** @var bool */
public $useTrailingSlashes;
/** @return SiteInfo */
public static function build(array $data) {
$res = new self();
foreach ($data as $k => $v) {
if (property_exists($res, $k)) $res->{$k} = $v;
}
return $res;
}
}
class SiteRequestInfo {
/** @var array|null */
public $page;
/** @var string */
public $lang;
/** @var string[] */
public $urlArgs;
/** @var string */
public $route;
/** @var string */
public $requestUri;
/** @var string Used to override statically built SEO */
public $title = '';
/** @var string Used to override statically built SEO */
public $description = '';
/** @var string Used to override statically built SEO */
public $keywords = '';
/** @var string Used to override statically built SEO */
public $image = '';
/** @return SiteRequestInfo */
public static function build(array $data) {
$res = new self();
foreach ($data as $k => $v) {
if (property_exists($res, $k)) $res->{$k} = $v;
}
return $res;
}
}