403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www/wp-content/plugins/spotlight-social-photo-feeds/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www/wp-content/plugins/spotlight-social-photo-feeds/modules/ConfigModule.php
<?php

namespace RebelCode\Spotlight\Instagram\Modules;

use Dhii\Services\Factories\FuncService;
use Dhii\Services\Factories\Value;
use Dhii\Services\Factory;
use Psr\Container\ContainerInterface;
use RebelCode\Spotlight\Instagram\Config\ConfigSet;
use RebelCode\Spotlight\Instagram\Config\NullConfigEntry;
use RebelCode\Spotlight\Instagram\Config\WpOption;
use RebelCode\Spotlight\Instagram\Module;

class ConfigModule extends Module
{
    /* Config key for the media preload option. */
    const PRELOAD_MEDIA = 'preloadMedia';

    /**
     * @inheritDoc
     *
     * @since 0.1
     */
    public function getFactories(): array
    {
        return [
            // The config set
            'set' => new Factory(['entries', 'default'], function ($entries, $default) {
                return new ConfigSet($entries, $default);
            }),

            // Entries for the config
            'entries' => new Value([
                static::PRELOAD_MEDIA => new WpOption('sli_preload_media', false, false, WpOption::SANITIZE_BOOL),
            ]),

            // The callback used by the config set to create options that do not exist
            'default' => new FuncService([], function () {
                return new NullConfigEntry();
            }),
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit