72 lines
2.1 KiB
PHP
72 lines
2.1 KiB
PHP
|
|
<?php
|
||
|
|
spl_autoload_register(function($class_name) {
|
||
|
|
include __DIR__.'/classes/'.$class_name . '.php';
|
||
|
|
});
|
||
|
|
|
||
|
|
/*function __autoload($class_name) {
|
||
|
|
|
||
|
|
include __DIR__.'/classes/'.$class_name . '.php';
|
||
|
|
|
||
|
|
}*/
|
||
|
|
|
||
|
|
define('DEFAULT_VIEW', 'home');
|
||
|
|
define('DEBUG', false);
|
||
|
|
define('LANGUE','en');
|
||
|
|
define('ADMINURL','/adminchat');
|
||
|
|
|
||
|
|
|
||
|
|
// DB
|
||
|
|
define('hostname_con1', 'dbserver');
|
||
|
|
define('database_con1', 'bateworldcom_zips');
|
||
|
|
define('username_con1', 'db.bateworldcom');
|
||
|
|
define('password_con1', 'sDIE8U8!5n*4%Ue_x.Pq');
|
||
|
|
|
||
|
|
|
||
|
|
define('BASE_URL', "https://bateworld.com/html5-chat/");
|
||
|
|
define('HOME_HTTP', 'https://bateworld.com/');
|
||
|
|
define('HTTP_NODE_MULTI', 'https://email2.webtv.fr:3002'); //chat
|
||
|
|
define('HTTP_NODE_MULTI2', 'https://email2.webtv.fr:3002'); // chat
|
||
|
|
|
||
|
|
//define('RTMP', 'rtmp://bateworld.com:11935/hls/');
|
||
|
|
define('WEBMASTER_EMAIL', 'contact@bateworld.com');
|
||
|
|
define('WEBMASTERID', 8221);
|
||
|
|
|
||
|
|
|
||
|
|
//UPLOAD
|
||
|
|
|
||
|
|
define('UPLOAD_GENDERS', __DIR__.'/upload/genders/');
|
||
|
|
define('UPLOAD_THUMBS', __DIR__.'/upload/thumbs/');
|
||
|
|
define('UPLOAD_ROOMS', __DIR__.'/upload/rooms/');
|
||
|
|
define('UPLOAD_LOGO', __DIR__.'/upload/logo/');
|
||
|
|
define('UPLOAD_ROLES', __DIR__.'/upload/roles/');
|
||
|
|
define('UPLOAD_IMAGES_MESSAGES', __DIR__.'/upload/messages/');
|
||
|
|
define('UPLOAD_IMAGES_MESSAGES_URL', '/upload/messages/');
|
||
|
|
define('UPLOAD_IMAGES_MESSAGES_WIDTH', 48);
|
||
|
|
define('UPLOAD_IMAGES_MESSAGES_HEIGHT', 48);
|
||
|
|
define('UPLOAD_VIDEOS', __DIR__.'/upload/videos/');
|
||
|
|
define('UPLOAD_AUDIO', __DIR__.'/upload/audio/');
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
// SMTP
|
||
|
|
|
||
|
|
define("USESMTP", true);
|
||
|
|
define("SMTPHost", 'SSL0.OVH.NET');
|
||
|
|
define("SMTPDebug",1);
|
||
|
|
define("SMTPAuth", true);
|
||
|
|
define("SMTPPort", 465);
|
||
|
|
define("SMTPUsername", 'noreply@bateworld.com');
|
||
|
|
define("SMTPUsernameWP", 'wp@bateworld.com');
|
||
|
|
define("SMTPPassword", 'bateworld');
|
||
|
|
define("EMAILFROM", 'noreply@bateworld.com');
|
||
|
|
define("SQL_MAILING_TEST", 'select * from chat_webmaster WHERE id=1 or id=54');
|
||
|
|
|
||
|
|
// camera
|
||
|
|
|
||
|
|
define('micRate', 11);
|
||
|
|
define('cameraWidth', 320);
|
||
|
|
define('cameraHeight', 240);
|
||
|
|
define('cameraBandWidth', 0); // 0 = all possible
|
||
|
|
define('cameraQuality', 75); // 0-90
|
||
|
|
define('cameraFPS', 20); // 0-90
|
||
|
|
define('cameraKeyFrameInterval', 8); // keyframe
|