XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
core.php
Go to the documentation of this file.
1 <?php
20 defined('XOOPS_ROOT_PATH') or die('Restricted access');
21 
30 {
31  static function eventCoreIncludeCommonStart($args)
32  {
33  include XOOPS_TRUST_PATH . '/modules/protector/include/precheck.inc.php';
34  }
35 
36  function eventCoreIncludeCommonEnd($args)
37  {
38  include XOOPS_TRUST_PATH . '/modules/protector/include/postcheck.inc.php';
39  }
40 
41  static function eventCoreClassDatabaseDatabasefactoryConnection($args)
42  {
43  if (defined('XOOPS_DB_ALTERNATIVE') && class_exists(XOOPS_DB_ALTERNATIVE)) {
44  $args[0] = XOOPS_DB_ALTERNATIVE;
45  }
46  }
47 
48 }
49 ?>