Uname:Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64

403WebShell
403Webshell
Server IP : 119.59.104.26  /  Your IP : 216.73.216.226
Web Server : Apache/2
System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64
User : com12370 ( 1517)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/com12370/public_html/wp-content/plugins/comments-from-facebook/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/com12370/public_html/wp-content/plugins/comments-from-facebook/includes/install_database.php
<?php 

/// Class for installing plugin database

class wpdevart_comment_install_database{
	
	public $installed_options; 
	private $plugin_url;

	function __construct(){
		
		if(isset($params['plugin_url']))
			$this->plugin_url=$params['plugin_url'];
		else
			$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));

		
		$this->installed_options=array(
			"wpdevart_comments_box"=>array(
								
				"wpdevart_comment_facebook_app_id"					=> '',
				"wpdevart_comments_box_order_type"					=> 'social',
				"wpdevart_comment_title_text"						=> 'Facebook Comments Box',
				"wpdevart_comment_title_text_color"					=> '#000000',
				"wpdevart_comment_title_text_font_size"				=> '20',
				"wpdevart_comment_title_text_font_famely"			=> 'Times New Roman,Times,Serif,Georgia',
				"wpdevart_comment_title_text_position"				=> 'left',
				"wpdevart_comments_box_show_in"						=>  '{"home":true,"post":true,"page":true}',	
				"wpdevart_comments_box_width"						=>  '100%',
				"wpdevart_comments_box_count_of_comments"			=>  '5',	
				"wpdevart_comments_box_locale"						=>  'en_US',
				"wpdevart_comments_box_include_sdk"					=> 'yes',				
			)			
		);
		
		
	}
	
	/*###################### Install database function ##################*/	
	
	public function install_databese(){
		foreach( $this->installed_options as $key => $option ){
			if( get_option($key,FALSE) === FALSE ){
				add_option($key,$option);
			}
		}		
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit