Changeset 16008 for extensions/ASearchEngine/main.inc.php
- Timestamp:
- Jun 24, 2012, 9:15:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ASearchEngine/main.inc.php
r15360 r16008 85 85 global $prefixeTable; 86 86 87 if( defined('IN_ADMIN'))87 if(!defined('AJAX_CALL')) 88 88 { 89 //ASE admin interface loaded and active only if in admin page 90 include_once("ase_aim.class.inc.php"); 91 $obj=new ASE_AIM($prefixeTable, __FILE__); 92 $obj->initEvents(); 93 } 94 else 95 { 96 if(CommonPlugin::checkGPCRelease(ASE_GPC_NEEDED)) 89 if(defined('IN_ADMIN')) 97 90 { 98 //ASE public interface loaded and active only if in public page 99 include_once("ase_pip.class.inc.php"); 100 $obj=new ASE_PIP($prefixeTable, __FILE__); 91 //ASE admin interface loaded and active only if in admin page 92 include_once("ase_aim.class.inc.php"); 93 $obj=new ASE_AIM($prefixeTable, __FILE__); 94 $obj->initEvents(); 95 } 96 else 97 { 98 if(CommonPlugin::checkGPCRelease(ASE_GPC_NEEDED) and !mobile_theme()) 99 { 100 //ASE public interface loaded and active only if in public page 101 include_once("ase_pip.class.inc.php"); 102 $obj=new ASE_PIP($prefixeTable, __FILE__); 103 } 101 104 } 102 105 }
Note: See TracChangeset
for help on using the changeset viewer.