Guest User

Limit WP/TRIBE

a guest
Sep 13th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage ASI Theme
  5. * @since IOA Framework V 1.0
  6. */
  7.  
  8. /**
  9. * Localization code
  10. */
  11. load_theme_textdomain('ioa',get_template_directory() .'/language'); // Localization Support
  12.  
  13. $locale = get_locale();
  14. $locale_file = get_template_directory() ."/language/$locale.php";
  15. if ( is_readable($locale_file) )
  16. require_once($locale_file);
  17.  
  18. /**
  19. * Define Constants
  20. */
  21. define('HPATH',get_template_directory() .'/backend');
  22. define('HURL',get_template_directory_uri().'/backend');
  23. define('PATH',get_stylesheet_directory() );
  24. define('URL',get_stylesheet_directory_uri());
  25.  
  26. /**
  27. * Load the main file that initializes all core classes , panels and functions.
  28. */
  29.  
  30. require_once(HPATH.'/superloader.php');
Advertisement
Add Comment
Please, Sign In to add comment