uawdijnntqw1x1x1
IP : 216.73.216.237
Hostname : webd009.cluster130.gra.hosting.ovh.net
Kernel : Linux webd009.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pressec
/
www
/
ads--temp-pour-eviter-les-spams
/
lib
/
xajax
/
.
/
.
/
..
/
max
/
Admin
/
DB.php
/
/
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | | | Copyright: See the COPYRIGHT.txt file. | | License: GPLv2 or later, see the LICENSE.txt file. | +---------------------------------------------------------------------------+ */ // Required files require_once MAX_PATH . '/lib/OA/DB.php'; require_once MAX_PATH . '/lib/OA/DB/Table/Core.php'; class Max_Admin_DB { /** * Checks the table type is supported * * @param string $type the name of the MySQL storage engine type. * @return boolean true if the server supports the table type. */ function tableTypeIsSupported($type) { // Assume MySQL always supports MyISAM table types if ($type == 'MYISAM') { return true; } else { $oDbh =& OA_DB::singleton(); $rc = $oDbh->query('SHOW VARIABLES'); while ($row = $rc->fetchRow(DB_FETCHMODE_ORDERED)) { if ($type == 'BDB' && $row[0] == 'have_bdb' && $row[1] == 'YES') { return true; } if ($type == 'GEMINI' && $row[0] == 'have_gemini' && $row[1] == 'YES') { return true; } if ($type == 'INNODB' && $row[0] == 'have_innodb' && $row[1] == 'YES') { return true; } } } return false; } /** * Gets the table types * * @return array list of supported table types. */ function getTableTypes() { $types['MYISAM'] = 'MyISAM'; $types['BDB'] = 'Berkeley DB'; $types['GEMINI'] = 'NuSphere Gemini'; $types['INNODB'] = 'InnoDB'; $types[' '] = 'PostgreSQL'; return $types; } /** * Enter description here... * * @return array */ function getServerTypes() { // These values must be the same as used for the // data access layer file names! $types['mysql'] = 'mysql'; $types['mysqli'] = 'mysqli'; //$types['pgsql'] = 'pgsql'; return $types; } /** * Enter description here... * * @param array $installvars * @return boolean */ function checkDatabaseExists($installvars) { $oDbh =& OA_DB::singleton(); $oTable = OA_DB_Table_Core::singleton(); $aTables = OA_DB_Table::listOATablesCaseSensitive(); $result = false; foreach ($oTable->tables as $k => $v) { if (is_array($aTables) && in_array($installvars['table_prefix'] . $k, $aTables)) { // Table exists $result = true; break; } } return $result; } } ?>
/home/pressec/www/ads--temp-pour-eviter-les-spams/lib/xajax/././../max/Admin/DB.php