File: /home/httpd/html/freecams1.com/public_html/admin/config.php
<?php
/* DATABASE INFORMATION */
$dbserver = 'localhost';
$dbname = 'freecams1_mb';
$dbuser = 'freecams1_mb';
$dbpass = 'xGiCR5d6uCN0uB9C';
/* LICENSE KEY */
$licenseKey = "3380ef5f19c6dd8b-5878492f9a20afe3-6ab69d047bb716ce-dda0fa3b55170e1a-c6e48f45e16940d8-7985853e1a650b44-e327ed3e26db71f3-54d00962ea50d4b5";
/* ADMIN ACCESS */
$admin_username = 'admin'; //admin area username
$admin_password = 'XquNNTZKCeDw1GrVAhXDFP4c'; //admin area password
/* WEBSITE INFORMATION */
$sitename = 'Mechbunny Tube Script'; //website name
$basepath = '/home/httpd/html/freecams1.com/public_html'; //base absolutely linux path
$basehttp = 'https://' . $_SERVER['HTTP_HOST']; //base http path
$mediadomain = 'freecams1.com/media'; //lighttpd install domain, usually media.domain.com
$content_path = $basepath . '/content'; //full unix path to upload dir, must be chmod 777
$temp_users_uploads = $basepath . '/temp_users_uploads'; //full unix path to upload dir, must be chmod 777
$video_path = $basepath . '/media/videos'; //full unix path for flv storage
$thumb_path = $basepath . '/media/thumbs'; //full unix path for thumb storage
$misc_path = $basepath . '/media/misc'; //miscelanious image path
$gallery_path = $basepath . '/media/galleries'; //gallery image path
$ftp_path = $basepath . '/ftp_content'; //directory to ftp uploads
$cache_path = $basepath . '/cache'; //directory for cached files
$thumb_url = 'https://' . $mediadomain . '/thumbs'; //url to $thumb_path
$video_url = 'https://' . $mediadomain . '/videos'; //url to $flv_path
$ad_url = 'https://' . $mediadomain . '/ads'; //url to $flv_path
$misc_url = 'https://' . $mediadomain . '/misc'; //url to $misc_path
$gallery_url = 'https://' . $mediadomain . '/galleries'; //url to $gallery_path
/* Process admin area variables */
$config = json_decode(file_get_contents($basepath . '/admin/scripts/config.json'), true);
extract($config, EXTR_OVERWRITE);
/* EOF */
$config['display_query_log'] = false;
$config['long_query_time'] = 0.05;
$template_path = $basepath . '/templates/' . $template_name;
$template_url = $basehttp . '/templates/' . $template_name;
$email_notifications_triggers = array(
'new-message' => 'new_message',
'new-post' => 'new_post',
'new-comment' => 'new_comment',
'friend-request' => 'friend_request',
);
$custom_user_fields = array(
"Sexual Orientation" => array("Straight", "Gay", "Bi-Sexual"),
"City" => "",
"State" => ""
);
$custom_pornstar_fields = array(
"Sexual Orientation" => array("Straight", "Gay", "Bi-Sexual"),
"City" => "",
"State" => ""
);
/* LIGHTTPD MOD_SECDOWNLOAD SETUP */
/*
For this to work, you must have lighttpd setup with mod_secdownload. Please refer to the guide here: http://redmine.lighttpd.net/projects/1/wiki/Docs_ModSecDownload
- secdownload.document-root in lighttpd.conf should refer to your /media/videos/ directory.
- secdownload.timeout should be at least 600 to allow your users to skip ahead in videos
*/
$modsec_enabled = false; // lighttpd mod_secdownload on or off. Your lighttpd must be configured properly for this to work.
$modsec_secret = 'verysecret'; // example: s3cr3tk3y (secdownload.secret from lighttpd)
$modsec_url = 'http://media.yourdomain.com/dl/'; // example: http://media.asfd.com/dl/ with trailing slash (url that reflects secdownload.uri-prefix in lighttpd)