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
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/Config/Helpers.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; use Nette; /** * Configuration helpers. * * @author David Grudl */ class Helpers { const EXTENDS_KEY = '_extends', OVERWRITE = TRUE; /** * Merges configurations. Left has higher priority than right one. * @return array */ public static function merge($left, $right) { if (is_array($left) && is_array($right)) { foreach ($left as $key => $val) { if (is_int($key)) { $right[] = $val; } else { if (is_array($val) && isset($val[self::EXTENDS_KEY])) { if ($val[self::EXTENDS_KEY] === self::OVERWRITE) { unset($val[self::EXTENDS_KEY]); } } elseif (isset($right[$key])) { $val = static::merge($val, $right[$key]); } $right[$key] = $val; } } return $right; } elseif ($left === NULL && is_array($right)) { return $right; } else { return $left; } } /** * Finds out and removes information about the parent. * @return mixed */ public static function takeParent(& $data) { if (is_array($data) && isset($data[self::EXTENDS_KEY])) { $parent = $data[self::EXTENDS_KEY]; unset($data[self::EXTENDS_KEY]); return $parent; } } /** * @return bool */ public static function isOverwriting(& $data) { return is_array($data) && isset($data[self::EXTENDS_KEY]) && $data[self::EXTENDS_KEY] === self::OVERWRITE; } /** * @return bool */ public static function isInheriting(& $data) { return is_array($data) && isset($data[self::EXTENDS_KEY]) && $data[self::EXTENDS_KEY] !== self::OVERWRITE; } }
Crotin
Name
Size
Permissions
Modified
User/Group
Adapters
-
0755
2015-08-08 18:27:53
Unknown/Unknown
Compiler.php
10423
0644
2015-08-08 18:27:46
Unknown/Unknown
CompilerExtension.php
2559
0644
2015-08-08 18:27:46
Unknown/Unknown
Extensions
-
0755
2015-08-08 18:27:52
Unknown/Unknown
Helpers.php
1832
0644
2015-08-08 18:27:46
Unknown/Unknown
Configurator.php
8269
0644
2015-08-08 18:27:46
Unknown/Unknown
Loader.php
3284
0644
2015-08-08 18:27:46
Unknown/Unknown
IAdapter.php
661
0644
2015-08-08 18:27:46
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin