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/theme/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

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

namespace YOOtheme\Theme;

use YOOtheme\Config;
use YOOtheme\View;

return [
    'theme' => fn(Config $config) => $config->loadFile(__DIR__ . '/config/theme.php'),

    'events' => [
        'metadata.load' => [Listener\LoadThemeVersion::class => ['handle', -10]],

        'theme.head' => [
            Listener\LoadThemeHead::class => ['@handle', -10],
        ],

        'customizer.init' => [
            Listener\UpdateBuilderLayouts::class => '@handle',
            Listener\LoadCustomizerData::class => '@handle',
            Listener\LoadConfigData::class => ['@handle', -20],
            Listener\LoadCustomizerScript::class => ['@handle', 30],
            Listener\LoadUIkitScript::class => ['@handle', 40],
        ],

        'config.save' => [
            Listener\SaveBuilderLayouts::class => '@handle',
        ],
    ],

    'extend' => [
        View::class => function (View $view, $app) {
            $app(ViewHelper::class)->register($view);
        },
    ],

    'services' => [
        Updater::class => function (Config $config) {
            $updater = new Updater($config('theme.version'));
            $updater->add(__DIR__ . '/updates.php');

            return $updater;
        },

        ThemeConfig::class => function (Config $config) {
            $themeConfig = new ThemeConfig();
            $themeConfig->scripts = $config->get('~theme.scripts', []);
            return $themeConfig;
        },
    ],
];

Anon7 - 2022
AnonSec Team