Initial commit
This commit is contained in:
commit
998d011cd3
233 changed files with 36893 additions and 0 deletions
20
onyx/modules/session/main.php
Normal file
20
onyx/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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in a new issue