XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
functions.php
Go to the documentation of this file.
1 <?php
14 if (defined('XOOPS_ART_FUNCTIONS')) return false;
15 define('XOOPS_ART_FUNCTIONS', true);
16 
17 include_once dirname(__FILE__) . "/functions.ini.php";
18 
19 load_functions("cache");
20 load_functions("user");
21 load_functions("locale");
22 load_functions("admin");
23 
24 if (!class_exists('ArtObject'))
25  include_once dirname(__FILE__) . "/object.php";
26 
34 function mod_getMysqlVersion($conn = null)
35 {
36  static $mysql_version;
37  if (isset($mysql_version)) return $mysql_version;
38  if (!is_null($conn)) {
39  $version = mysql_get_server_info($conn);
40  } else {
41  $version = mysql_get_server_info();
42  }
43  return $mysql_version;
44 }
45 
46 ?>