0byt3m1n1
Path:
/
home1
/
aserty
/
www
/
ourhomebedroom.com
/
wp-content
/
plugins
/
wp-indexer_off
/
[
Home
]
File: ioncube_errors.php
<?php /* This file is unencrypted on purpose It stops any Ioncube errors from appearing to your blog visitors, and only shows errors in the admin area. I'd prefer to use a closure and use() with WP's add_action on admin_notices, but that requires PHP 5.3 and many shared hosts don't use that yet. So we must have 16 small functions to handle the errors here. */ function ioncube_event_handler($err_code, $params) { $func = "ioncube_error_$err_code"; if( function_exists('add_action') ) add_action('admin_notices', $func); else $func(); } function ioncube_show_admin_error($msg) { echo "\n\n<div class='error'><p><b>WP Indexer Ioncube Error:</b> $msg</p></div>\n\n"; } function ioncube_error_1() { ioncube_show_admin_error('Plugin corrupted. Please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_2() { ioncube_show_admin_error('This copy of the plugin has expired. Please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_3() { ioncube_show_admin_error('This server is not authorized to run the plugin. You can read about <a href="http://support.codexplugins.com/knowledgebase/articles/197286" target="_blank">installing on a new blog</a>, then download the plugin for this domain from the <a href="http://codexplugins.com/wp-admin/" target="_blank">members area</a>.'); } function ioncube_error_4() { ioncube_show_admin_error('Invalid system time. Your server\'s clock needs adjusting to the correct time before the plugin can function.'); } function ioncube_error_5() { ioncube_show_admin_error('Untrusted system extensions are installed that stop Ioncube from running.'); } function ioncube_error_6() { ioncube_show_admin_error('Can\'t find your license file. Please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_7() { ioncube_show_admin_error('License file has been altered so the plugin can\'t function properly. Please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_8() { ioncube_show_admin_error('Your license file has now expired. Please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_9() { ioncube_show_admin_error('The properties of your license file don\'t match the plugin. To fix this, please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_10() { ioncube_show_admin_error('License header corrupted so the plugin can\'t run properly. To fix this, please download a fresh copy from the <a href="http://codexplugins.com/wp-admin/">members area</a>.'); } function ioncube_error_11() { ioncube_show_admin_error('Not licensed for this domain. You can read about <a href="http://support.codexplugins.com/knowledgebase/articles/197286" target="_blank">installing on a new blog</a>, then download the plugin for this domain from the <a href="http://codexplugins.com/wp-admin/" target="_blank">members area</a>.'); } function ioncube_error_12() { ioncube_show_admin_error('Included by invalid file'); } function ioncube_error_13() { ioncube_show_admin_error('Invalid file included'); } function ioncube_error_14() { ioncube_show_admin_error('php.ini has --auto-append-file or --auto-prepend-file enabled. This stops the plugin from running, so you should contact your host and ask them to disable this for you.'); }