XOOPS  2.6.0
functions.php
Go to the documentation of this file.
1 <?php
14 if (defined('XOOPS_ART_FUNCTIONS')) {
15  return false;
16 }
17 define('XOOPS_ART_FUNCTIONS', true);
18 
19 include_once __DIR__ . "/functions.ini.php";
20 
21 load_functions("cache");
22 load_functions("user");
23 load_functions("locale");
24 load_functions("admin");
25 
26 if (!class_exists('ArtObject', false)) {
27  require_once __DIR__ . "/object.php";
28 }
29 
38 function mod_getMysqlVersion($conn = null)
39 {
40  static $mysql_version;
41  if (isset($mysql_version)) {
42  return $mysql_version;
43  }
44  if (!is_null($conn)) {
45  $mysql_version = mysql_get_server_info($conn);
46  } else {
47  $mysql_version = mysql_get_server_info();
48  }
49  return $mysql_version;
50 }
51 
52 ?>
if(!class_exists('ArtObject', false)) mod_getMysqlVersion($conn=null)
Definition: functions.php:38
load_functions($group="", $dirname="art")