403Webshell
Server IP : 104.21.14.103  /  Your IP : 18.227.134.133
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/thietke365.net/wp-content/plugins/loco-translate/src/admin/list/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/thietke365.net/wp-content/plugins/loco-translate/src/admin/list/PluginsController.php
<?php
/**
 * List all bundles of type "plugin"
 * Route: loco-plugin
 */
class Loco_admin_list_PluginsController extends Loco_admin_list_BaseController {

    
    public function render(){

        $this->set( 'type', 'plugin' );
        $this->set( 'title', __( 'Translate plugins', 'loco-translate' ) );
        
        foreach( Loco_package_Plugin::get_plugins() as $handle => $data ){
            try {
                $bundle = Loco_package_Plugin::create( $handle );
                $this->addBundle($bundle);
            }
            // @codeCoverageIgnoreStart
            catch( Exception $e ){
                $bundle = new Loco_package_Plugin( $handle, $handle );
                $this->addBundle( $bundle );
            }
            // @codeCoverageIgnoreEnd
        }
        
        return parent::render();
    }

    
}

Youez - 2016 - github.com/yon3zu
LinuXploit