AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.117
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/voscatalogues/templates/yootheme/packages/application/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/voscatalogues/templates/yootheme/packages/application/bootstrap.php
<?php

namespace YOOtheme\Application;

use YOOtheme\Config;
use YOOtheme\Path;
use YOOtheme\Url;
use YOOtheme\View;

return [
    'extend' => [
        Config::class => function (Config $config) {
            $config->addFilter(
                'url',
                fn($value, $file) => Url::to(Path::resolve(dirname($file), $value)),
            );
        },

        View::class => function (View $view, $app) {
            $view->addGlobal('app', $app);
            $view->addGlobal('config', $app(Config::class));
        },
    ],

    'aliases' => [
        View::class => 'view',
    ],

    'loaders' => [
        'services' => ServiceLoader::class,
        'aliases' => AliasLoader::class,
        'extend' => ExtendLoader::class,
        'events' => EventLoader::class,
        'routes' => RouteLoader::class,
        'config' => ConfigLoader::class,
    ],
];

Anon7 - 2022
AnonSec Team