1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
13:
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:
30: 31: 32: 33: 34: 35: 36: 37:
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: