LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /home/udaipurk/www/websites/rishhh/wp-content/plugins/et-core-plugin/config/
File Upload :
Command :
Current File : //home/udaipurk/www/websites/rishhh/wp-content/plugins/et-core-plugin/config/routes.php

<?php
/**
 *	Register routes 
 */

add_filter( 'etc/add/components', 'etc_routes' );
function etc_routes( $routes ) {

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Customizer@hooks',
		'model' 		=> 'Customizer',
		'view' 			=> '',
		'config' 		=> '',
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Post_Types@hooks',
		'model' 		=> 'Post_Types',
		'view' 			=> 'Post_Types',
		'config' 		=> 'post-type',
	);

    $routes[] = array(
        'type' 			=> 'any',
        'controller' 	=> 'Search@hooks',
        'model' 		=> 'Search',
        'view' 			=> '',
        'config' 		=> '',
    );
	
	$routes[] = array(
		'type'       => 'any',
		'controller' => 'Shortcodes@hooks',
		'model'      => '',
		'view'       => '',
		'config'     => 'shortcodes',
	);
	
	$routes[] = array(
		'type'       => 'any',
		'controller' => 'VC@hooks',
		'model'      => '',
		'view'       => '',
		'config'     => 'vc',
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Widgets@hooks',
		'model' 		=> '',
		'view' 			=> '',
		'config' 		=> 'widgets',
	);

	if ( ! defined( 'IMPORT_DEBUG' ) ) {
		$routes[] = array(
			'type' 			=> 'admin',
			'controller' 	=> 'Import@hooks',
			'model' 		=> '',
			'view' 			=> '',
			'config' 		=> '',
		);
		$routes[] = array(
			'type' 			=> 'admin',
			'controller' 	=> 'Remove@hooks',
			'model' 		=> '',
			'view' 			=> '',
			'config' 		=> '',
		);
	}

	$routes[] = array(
		'type' 			=> 'admin',
		'controller' 	=> 'Admin@hooks',
		'model' 		=> '',
		'view' 			=> '',
		'config' 		=> '',
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'General@hooks',
		'model' 		=> '',
		'view' 			=> '',
		'config' 		=> '',
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Elementor',
		'model' 		=> '',
		'view' 			=> 'Elementor',
		'config' 		=> 'elementor', 
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Videos@hooks',
		'model' 		=> '',
		'view' 			=> 'Product_Videos',
		'config' 		=> '',
	);

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Authorize@hooks',
		'model' 		=> '',
		'view' 			=> 'Social_Authorize',
		'config' 		=> '',
	);

    $routes[] = array(
        'type' 			=> 'any',
        'controller' 	=> 'Top_Bar_Menu@hooks',
        'model' 		=> '',
        'view' 			=> '',
        'config' 		=> '',
    );

	$routes[] = array(
		'type' 			=> 'any',
		'controller' 	=> 'Upgrade@hooks',
		'model' 		=> '',
		'view' 			=> '',
		'config' 		=> '',
	);

	return $routes;
}

LittleDemon - FACEBOOK
[ KELUAR ]