$this->connect(); if (is_null($value)) { return 'NULL'; } elseif ($value == '') { return "''"; } elseif ($value{0} != '0' && (is_int($value) || is_float($value))) { return (string)$value; }
/** * Scope isolated include. * * Prevents access to $this/self from included files. */ function includeFile($file) { include $file; }
/** * Scope isolated include. * * Prevents access to $this/self from included files. */ function includeFile($file) { include $file; }
* * @param string $class The name of the class * @return bool|null True if loaded, null otherwise */ public function loadClass($class) { if ($file = $this->findFile($class)) { includeFile($file); return true;
<?php namespace Simqel; class Connection_PDO_MySQL extends Connection_PDO { public function __construct(Settings $settings) {
/** * Scope isolated include. * * Prevents access to $this/self from included files. */ function includeFile($file) { include $file; }
* * @param string $class The name of the class * @return bool|null True if loaded, null otherwise */ public function loadClass($class) { if ($file = $this->findFile($class)) { includeFile($file); return true;
* @param $dsn string * @return SQL */ public static function createByDSN($dsn) { $settings = new Settings($dsn); switch ($settings->getDriver()) { case 'mysql': $connection = new Connection_PDO_MySQL($settings); $strategy = new Strategy_MySQL($connection); return new static($connection, $strategy);
/** * @var GSub\Cache\CacheInterface */ private $cache; public function __construct($dsn) { $simqel = Simqel::createByDSN($dsn); // decorators
} else { throw new NotFoundException("Module '$modName' in '$modPath' not found!"); } } public function dbStart() { $this->sql = new Sql(getConfig('db')); }
if (isset($_GET['print'])){ $this->tpl = new Template('tpl/layout/print.php'); } else { $this->tpl = new Template('tpl/index.php'); } } $this->dbStart(); $this->sessionStart(); if(isset($_GET['preview'])) $this->set('preview',true);
$request = Request::createFromGlobals(); $system->set('request', $request); // Wyłączenie tłumaczeń if ($request->query->get('translations') == 'no') { $system->set('disable_translations', 1); } $system->start(); $pages = $system->loadModule('pages');
Key | Value |
CURL_HOME | / |
DOCUMENT_ROOT | / |
GATEWAY_INTERFACE | CGI/1.1 |
GATEWAY_ULTRACGI | 01605528df2075868e801d3cee51e01a |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | close |
HTTP_HOST | juliakolodziej.pl |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_X_FORWARDED_FOR | 3.21.34.0 |
HTTP_X_HOMESERVER_PORT_STR | plain |
HTTP_X_REAL_IP | 3.21.34.0 |
PATH | /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin |
PATH_REDIRECTED | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
QUERY_STRING | type=1&theater |
REDIRECT_STATUS | 200 |
REDIRECT_URL | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
REMOTE_ADDR | 3.21.34.0 |
REMOTE_HOST | ec2-3-21-34-0.us-east-2.compute.amazonaws.com |
REMOTE_PORT | 36041 |
REQUEST_METHOD | GET |
REQUEST_URI | /%20%20https://www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/?type=1&theater |
SCRIPT_FILENAME | /index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | http://juliakolodziej.pl/ https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
SCRIPT_URL | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
SERVER_ADDR | 212.85.123.55 |
SERVER_ADMIN | agromix@agromix.home.pl |
SERVER_ID | agromix |
SERVER_NAME | juliakolodziej.pl |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | IdeaWebServer/6.0.0 (like Apache) |
SM_HOSTNAME | juliakolodziej.pl |
TMP | /tmp |
TMPDIR | /tmp |
TZ | :/etc/localtime |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1714161582,686 |
REQUEST_TIME | 1714161582 |
argv | Array ( [0] => type=1&theater ) |
argc | 1 |
Key | Value |
type | 1 |
theater |
Key | Value |
CURL_HOME | / |
DOCUMENT_ROOT | / |
GATEWAY_INTERFACE | CGI/1.1 |
GATEWAY_ULTRACGI | 01605528df2075868e801d3cee51e01a |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | close |
HTTP_HOST | juliakolodziej.pl |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_X_FORWARDED_FOR | 3.21.34.0 |
HTTP_X_HOMESERVER_PORT_STR | plain |
HTTP_X_REAL_IP | 3.21.34.0 |
PATH | /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin |
PATH_REDIRECTED | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
QUERY_STRING | type=1&theater |
REDIRECT_STATUS | 200 |
REDIRECT_URL | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
REMOTE_ADDR | 3.21.34.0 |
REMOTE_HOST | ec2-3-21-34-0.us-east-2.compute.amazonaws.com |
REMOTE_PORT | 36041 |
REQUEST_METHOD | GET |
REQUEST_URI | /%20%20https://www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/?type=1&theater |
SCRIPT_FILENAME | /index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | http://juliakolodziej.pl/ https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
SCRIPT_URL | / https:/www.facebook.com/mkproject.org.uk/photos/a.261656623885613.80163.260148987369710/946347688749833/ |
SERVER_ADDR | 212.85.123.55 |
SERVER_ADMIN | agromix@agromix.home.pl |
SERVER_ID | agromix |
SERVER_NAME | juliakolodziej.pl |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | IdeaWebServer/6.0.0 (like Apache) |
SM_HOSTNAME | juliakolodziej.pl |
TMP | /tmp |
TMPDIR | /tmp |
TZ | :/etc/localtime |