This repository has been archived on 2025-06-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
server/onyx/modules/session/main.php
2013-10-09 15:40:23 +02:00

20 lines
No EOL
455 B
PHP

<?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);
}
}
?>