HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/baretube.com/admin/config.php.bak
<?
/* DATABASE INFORMATION */
$dbserver = 'localhost'; 
$dbname = 'baretube_mech'; 
$dbuser = 'baretube_mech'; 
$dbpass = 'QCPQHjg3RZ';

/* ADMIN ACCESS */
$admin_username = 'admin'; //admin area username
$admin_password = 'QCPQHjg3RZ'; //admin area password 
$admin_email = ''; //administrator email
$admin_ip_limitation = false; //enabled admin area ip restrictions
$admin_allowed_ips = array('80.90.43.74','123.123.123.123','234.234.234.234'); //allowed ip address if above is enabled

/* WEBSITE INFORMATION */
$sitename = 'Mechbunny Tube Script'; //website name
$basepath = '/home/httpd/html/baretube.com'; //base absolutely linux path
$basehttp = 'http://baretube.com'; //base http path
$mediadomain = 'baretube.com/media'; //lighttpd install domain, usually media.domain.com

$content_path = $basepath.'/content'; //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 = 'http://'.$mediadomain.'/thumbs'; //url to $thumb_path
$video_url = 'http://'.$mediadomain.'/videos'; //url to $flv_path
$ad_url = 'http://'.$mediadomain.'/ads'; //url to $flv_path
$misc_url = 'http://'.$mediadomain.'/misc'; //url to $misc_path
$gallery_url = 'http://'.$mediadomain.'/galleries'; //url to $gallery_path

/* DEPENDANCIES */
$ffmpeg_path = '/usr/local/bin/ffmpeg'; //full unix path to ffmpeg
$yamdi_path = '/usr/bin/yamdi'; //full unix path to yamdi
$wget_path = '/usr/bin/wget'; //full unix path to wget 
$mp4box_path = '/usr/local/bin/MP4Box'; //full unix path to mp4box 
$php_path = '/usr/local/bin/php'; //full unix path to php cli

/* SCRIPT SETTINGS */
$imagick_enabled = true; //enable or disable imagemagick processing on thumbs
$imagick_command = "-modulate 110,102,100 -sharpen 1x1 -enhance"; //command line for imagemagick
$ffmpeg_command = "-acodec libfaac -keyint_min 20 -r 20 -vcodec libx264 -vpre lossless_slow -crf 25 -b 300k -bt 300k -y -v 0 -bf 16 -threads 0"; //settings for ffmpeg encoding
$ffmpeg_mobile_command = "-acodec libfaac -ab 128kb -vcodec mpeg4 -b 300kb -mbd 2 -cmp 2 -subcmp 2"; //settings for ffmpeg mobile version

$thumbwidth = 180; //thumb width
$thumbheight = 135; //thumb height
$thumbquality = 90; //thumbnail quality 0 - 100
$numCronPublish = 1; //number of videos to add when cronPublish is executed
$results_per_page = 24; //maximum per page setting for display pages
$minimum_votes = 0; //minimum votes required for a video to appear under top rated
$allowSurferUploads = true; //toggle uploads for surfer accounts
$allowUploads = true; //toggle uploads for all accounts including sponsors
$allowDisplayComments = true; //toggle displaying comments on video page
$allowAddComments = true; //toggle adding comments on video page
$allowAddFavorites = true; //toggle user adding to favorites
$video_cache_time = 3600; //video page cache time
$overall_cache_time = 1800; //cache time for all other pages
$require_account_confirmation = false; //require new users to verify account
$enable_signup_captcha = true; //enabled captcha form on signup.php
$forceEncodeAll = false; //set this to true if you want to force encoding of all videos including flv/mp4

$encodeMobile = true; //encode mobile videos
$enableMobile = true; //enable mobile version
$redirect_mobile = false; //set to url of mobile version, otherwise set $redirect_mobile = false; $enableMobile must be set to false.

$encodeTrailer = false; //encode trailers
$trailerFrom = 0; //starting point for trailer (in seconds);
$trailerDuration = 60; //length of trailer in seconds

$cacheType = 'filesystem'; //can be memcached or filesystem
$memcachedServer = 'localhost'; //server ip for memcached
$memcachedPort = '11211'; //port for memcached

/* PLAYER SETTINGS */
$player_streamer = 'lighttpd'; //can be http, lighttpd, or rtmp
$player_rtmp = ''; //if using RTMP, enter RTMP url here
$player_autoplay = 'false'; //Autoplay for player, can be true or false
$player_buffertime = 3; //Player Buffer Time (how long to buffer before it starts to play)

$player_right_click_display = $sitename; //for menu when you right click player
$player_right_click_url = $basehttp; //url for menu when you right click player
$player_right_click_target = '_self'; //html target for right click player (_self, _blank, framename etc)

$player_show_watermark = 'true'; //show watermark
$player_always_show_watermark = 'true'; //show watermark even when displaying ads, etc
$player_watermark_link = $basehttp; //mydailytube.com //link when clicking watermark
$player_watermark_url = $basehttp.'/vidwatermark.png'; //url to watermark png file
$player_watermark_target = '_self'; //html target when clicking watermark
$player_watermark_opacity = '80'; //watermark opacity in percent (%)
$player_watermark_padding_left = '0'; //watermark padding 
$player_watermark_padding_right = '0'; //watermark padding
$player_watermark_padding_top = '0'; //watermark padding
$player_watermark_padding_bottom = '0';  //watermark padding
$player_watermark_placement = 'TR';  //watermark position, TR = Top Right, TL = Top Left, BR =  Bottom Right, BL = Bottom Left


$player_pre_ads = 'false'; //enable pre-play ads
$player_pre_ads_url = 'http://ilovecheating.com/ads/xml/raptor.php?s=amechbunny'; //url to xml pre-play ads (yourfuckbook, aff, etc all have the same ad format)
$player_pause_ads = 'false'; //enable pause ads
$player_pause_ads_url = 'http://ilovecheating.com/ads/xml/raptor.php?s=amechbunny'; //url to xml pause ads (yourfuckbook, aff, etc all have the same ad format)
$player_post_ads = 'false'; //enable post-play ads
$player_post_ads_url = 'http://ilovecheating.com/ads/xml/raptor.php?s=amechbunny'; //url to xml post-play ads (yourfuckbook, aff, etc all have the same ad format)
$player_use_inline_ad = 'false'; //enable hover ad
$player_inline_ad_url = $basehttp.'/inline_ads.xml'; //url to xml to inline ads

$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" => ""
);
?>