403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.196
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/reap/libraries/smartslider3/src/Framework/Font/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/reap/libraries/smartslider3/src/Framework/Font/FontSources.php
<?php


namespace Nextend\Framework\Font;


use Nextend\Framework\Filesystem\Filesystem;

class FontSources {

    /** @var AbstractFontSource[] */
    private static $fontSources = array();

    public function __construct() {
        $dir = dirname(__FILE__) . '/Sources/';
        foreach (Filesystem::folders($dir) as $folder) {
            $file = $dir . $folder . '/' . $folder . '.php';
            if (Filesystem::fileexists($file)) {
                require_once($file);
            }
        }
    }

    /**
     * @param string $class
     */
    public static function registerSource($class) {

        /** @var AbstractFontSource $source */
        $source = new $class();

        self::$fontSources[$source->getName()] = $source;
    }

    /**
     * @return AbstractFontSource[]
     */
    public static function getFontSources() {
        return self::$fontSources;
    }

    public static function onFontManagerLoad($force = false) {
        foreach (self::$fontSources as $source) {
            $source->onFontManagerLoad($force);
        }
    }

    public static function onFontManagerLoadBackend() {
        foreach (self::$fontSources as $source) {
            $source->onFontManagerLoadBackend();
        }
    }
}

new FontSources();

Youez - 2016 - github.com/yon3zu
LinuXploit