forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
20
onyx2/modules/session/main.php
Normal file
20
onyx2/modules/session/main.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
if(!defined('ONYX')) exit;
|
||||
|
||||
if(defined('DB_TYPE'))
|
||||
{
|
||||
switch(DB_TYPE)
|
||||
{
|
||||
case 'mysql':
|
||||
case 'postgresql':
|
||||
|
||||
$session_config = $OPT;
|
||||
|
||||
require_once(DB_TYPE.'.class.php');
|
||||
break;
|
||||
|
||||
default: trigger_error('Base de donnee inconnue',E_USER_ERROR);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue