Advertisement
Guest User

Untitled

a guest
Mar 5th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. Plugin Name: Debug
  5. Description: Debug your blog, wordpress site and multisite with <a href="http://www.soninow.com/" target="_blank">Soninow</a>. Debug is a development/production tool, that's help you to remove bugs from your wordpress website.
  6. Version: 1.8
  7. Author: SoniNow Team
  8. Author URI: http://www.soninow.com
  9. License: GPLv2
  10. */
  11. define('DEBUG_PLUGIN_DIR', plugin_dir_path(__FILE__));
  12. define('DEBUG_PLUGIN_VERSION', '1.8');
  13. define('DEBUG_PLUGIN_BASENAME', plugin_basename(__FILE__));
  14.  
  15. // function library file
  16. require_once DEBUG_PLUGIN_DIR.'functions/function.php';
  17. require_once DEBUG_PLUGIN_DIR.'functions/plugin.php';
  18.  
  19. //Admin UI file to show admin setting interface
  20. function debug_admin_page() {
  21. require_once DEBUG_PLUGIN_DIR.'admin/setting.php';
  22. }
  23. //Admin UI file to show admin debug.log interface
  24. function debug_log_file_page(){
  25. require_once DEBUG_PLUGIN_DIR.'admin/debuglog.php';
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement