Plugin Directory

Changeset 1572734


Ignore:
Timestamp:
01/11/2017 08:01:06 PM (9 years ago)
Author:
jd7777
Message:

Fixed errors

Location:
bible-plus/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • bible-plus/trunk/index.php

    r1572718 r1572734  
    2727 * Load Files
    2828 */
    29 include JWPLG_BBP_PATH . 'functions.php';
    30 include JWPLG_BBP_PATH . 'admin.php';
     29if( is_admin() && !defined('DOING_AJAX') || !DOING_AJAX ) :
     30    include JWPLG_BBP_PATH . 'admin.php';
     31else :
     32    include JWPLG_BBP_PATH . 'functions.php';
     33endif;
    3134
    3235/**
Note: See TracChangeset for help on using the changeset viewer.