mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
init
This commit is contained in:
334
config/allconfig.php
Normal file
334
config/allconfig.php
Normal file
@@ -0,0 +1,334 @@
|
||||
<?php
|
||||
$ACCOUNT=array(
|
||||
'neverdelete' => '6',
|
||||
'neverdeletepacked' => '3',
|
||||
'deletepacked' => '400',
|
||||
'deleteunpacked' => '150',
|
||||
'deletenotransfer' => '60',
|
||||
'deletenotransfertwo' => '0',
|
||||
'deletepeasant' => '30',
|
||||
'psdlone' => '50',
|
||||
'psratioone' => '0.4',
|
||||
'psdltwo' => '100',
|
||||
'psratiotwo' => '0.5',
|
||||
'psdlthree' => '200',
|
||||
'psratiothree' => '0.6',
|
||||
'psdlfour' => '400',
|
||||
'psratiofour' => '0.7',
|
||||
'psdlfive' => '800',
|
||||
'psratiofive' => '0.8',
|
||||
'putime' => '4',
|
||||
'pudl' => '50',
|
||||
'puprratio' => '1.05',
|
||||
'puderatio' => '0.95',
|
||||
'eutime' => '8',
|
||||
'eudl' => '120',
|
||||
'euprratio' => '1.55',
|
||||
'euderatio' => '1.45',
|
||||
'cutime' => '15',
|
||||
'cudl' => '300',
|
||||
'cuprratio' => '2.05',
|
||||
'cuderatio' => '1.95',
|
||||
'iutime' => '25',
|
||||
'iudl' => '500',
|
||||
'iuprratio' => '2.55',
|
||||
'iuderatio' => '2.45',
|
||||
'vutime' => '40',
|
||||
'vudl' => '750',
|
||||
'vuprratio' => '3.05',
|
||||
'vuderatio' => '2.95',
|
||||
'exutime' => '60',
|
||||
'exudl' => '1024',
|
||||
'exuprratio' => '3.55',
|
||||
'exuderatio' => '3.45',
|
||||
'uutime' => '80',
|
||||
'uudl' => '1536',
|
||||
'uuprratio' => '4.05',
|
||||
'uuderatio' => '3.95',
|
||||
'nmtime' => '100',
|
||||
'nmdl' => '3072',
|
||||
'nmprratio' => '4.55',
|
||||
'nmderatio' => '4.45',
|
||||
'getInvitesByPromotion' => array(
|
||||
'2' => '1',
|
||||
'3' => '0',
|
||||
'4' => '2',
|
||||
'5' => '0',
|
||||
'6' => '3',
|
||||
'7' => '0',
|
||||
'8' => '5',
|
||||
'9' => '10',
|
||||
),
|
||||
);
|
||||
$ADVERTISEMENT=array(
|
||||
'enablead' => 'yes',
|
||||
'enablenoad' => 'yes',
|
||||
'noad' => '12',
|
||||
'enablebonusnoad' => 'yes',
|
||||
'bonusnoad' => '2',
|
||||
'bonusnoadpoint' => '10000',
|
||||
'bonusnoadtime' => '15',
|
||||
'adclickbonus' => '0',
|
||||
);
|
||||
$ATTACHMENT=array(
|
||||
'enableattach' => 'yes',
|
||||
'classone' => '1',
|
||||
'countone' => '5',
|
||||
'sizeone' => '256',
|
||||
'extone' => 'jpg, jpeg, png, gif',
|
||||
'classtwo' => '2',
|
||||
'counttwo' => '10',
|
||||
'sizetwo' => '512',
|
||||
'exttwo' => 'torrent, zip, rar, 7z, gzip, gz',
|
||||
'classthree' => '5',
|
||||
'countthree' => '20',
|
||||
'sizethree' => '1024',
|
||||
'extthree' => 'mp3, ogg, oga, flv',
|
||||
'classfour' => '13',
|
||||
'countfour' => '500',
|
||||
'sizefour' => '2048',
|
||||
'extfour' => 'doc, xls',
|
||||
'savedirectory' => './attachments',
|
||||
'httpdirectory' => 'attachments',
|
||||
'savedirectorytype' => 'monthdir',
|
||||
'thumbnailtype' => 'createthumb',
|
||||
'thumbquality' => '80',
|
||||
'thumbwidth' => '500',
|
||||
'thumbheight' => '500',
|
||||
'watermarkpos' => '9',
|
||||
'watermarkwidth' => '300',
|
||||
'watermarkheight' => '300',
|
||||
'watermarkquality' => '85',
|
||||
'altthumbwidth' => '180',
|
||||
'altthumbheight' => '135',
|
||||
);
|
||||
$AUTHORITY=array(
|
||||
'defaultclass' => '1',
|
||||
'staffmem' => '13',
|
||||
'newsmanage' => '14',
|
||||
'newfunitem' => '1',
|
||||
'funmanage' => '13',
|
||||
'sbmanage' => '13',
|
||||
'pollmanage' => '14',
|
||||
'applylink' => '1',
|
||||
'linkmanage' => '14',
|
||||
'postmanage' => '13',
|
||||
'commanage' => '13',
|
||||
'forummanage' => '14',
|
||||
'viewuserlist' => '2',
|
||||
'torrentmanage' => '13',
|
||||
'torrentsticky' => '14',
|
||||
'askreseed' => '2',
|
||||
'viewnfo' => '2',
|
||||
'torrentstructure' => '8',
|
||||
'sendinvite' => '2',
|
||||
'viewhistory' => '6',
|
||||
'topten' => '2',
|
||||
'log' => '5',
|
||||
'confilog' => '13',
|
||||
'userprofile' => '14',
|
||||
'torrenthistory' => '2',
|
||||
'prfmanage' => '13',
|
||||
'cruprfmanage' => '14',
|
||||
'uploadsub' => '1',
|
||||
'delownsub' => '2',
|
||||
'submanage' => '13',
|
||||
'updateextinfo' => '7',
|
||||
'viewanonymous' => '12',
|
||||
'beanonymous' => '4',
|
||||
'addoffer' => '0',
|
||||
'offermanage' => '13',
|
||||
'upload' => '2',
|
||||
'uploadspecial' => NULL,
|
||||
'movetorrent' => NULL,
|
||||
'chrmanage' => '13',
|
||||
'viewinvite' => '13',
|
||||
'buyinvite' => '5',
|
||||
'seebanned' => '12',
|
||||
'againstoffer' => '1',
|
||||
'userbar' => '2',
|
||||
);
|
||||
$BASIC=array(
|
||||
'SITENAME' => 'NexusPHP',
|
||||
'BASEURL' => 'localhost',
|
||||
'announce_url' => 'localhost/announce.php',
|
||||
'mysql_host' => 'localhost',
|
||||
'mysql_user' => 'root',
|
||||
'mysql_pass' => 'nexusphprocks',
|
||||
'mysql_db' => 'nexusphp',
|
||||
);
|
||||
$BONUS=array(
|
||||
'donortimes' => '2',
|
||||
'perseeding' => '1',
|
||||
'maxseeding' => '7',
|
||||
'tzero' => '4',
|
||||
'nzero' => '7',
|
||||
'bzero' => '100',
|
||||
'l' => '300',
|
||||
'uploadtorrent' => '15',
|
||||
'uploadsubtitle' => '5',
|
||||
'starttopic' => '2',
|
||||
'makepost' => '1',
|
||||
'addcomment' => '1',
|
||||
'pollvote' => '1',
|
||||
'offervote' => '1',
|
||||
'funboxvote' => '1',
|
||||
'saythanks' => '0.5',
|
||||
'receivethanks' => '0',
|
||||
'funboxreward' => '5',
|
||||
'onegbupload' => '300',
|
||||
'fivegbupload' => '800',
|
||||
'tengbupload' => '1300',
|
||||
'ratiolimit' => '6',
|
||||
'dlamountlimit' => '50',
|
||||
'oneinvite' => '1000',
|
||||
'customtitle' => '5000',
|
||||
'vipstatus' => '8000',
|
||||
'bonusgift' => 'yes',
|
||||
'basictax' => '4',
|
||||
'taxpercentage' => '10',
|
||||
'prolinkpoint' => '1',
|
||||
'prolinktime' => '600',
|
||||
);
|
||||
$CODE=array(
|
||||
'mainversion' => 'NexusPHP',
|
||||
'subversion' => 'Standard v1.5 Beta 4',
|
||||
'releasedate' => '2010-09-19',
|
||||
'website' => '<a href="http://www.nexusphp.com">http://www.nexusphp.com</a>',
|
||||
);
|
||||
$MAIN=array(
|
||||
'site_online' => 'yes',
|
||||
'max_torrent_size' => '1048576',
|
||||
'announce_interval' => '1800',
|
||||
'annintertwoage' => '7',
|
||||
'annintertwo' => '2700',
|
||||
'anninterthreeage' => '30',
|
||||
'anninterthree' => '3600',
|
||||
'signup_timeout' => '259200',
|
||||
'minoffervotes' => '15',
|
||||
'offervotetimeout' => '259200',
|
||||
'offeruptimeout' => '86400',
|
||||
'maxsubsize' => '3145728',
|
||||
'postsperpage' => '10',
|
||||
'topicsperpage' => '20',
|
||||
'torrentsperpage' => '50',
|
||||
'maxnewsnum' => '3',
|
||||
'max_dead_torrent_time' => '21600',
|
||||
'maxusers' => '50000',
|
||||
'torrent_dir' => 'torrents',
|
||||
'iniupload' => '0',
|
||||
'SITEEMAIL' => 'nobody@gmail.com',
|
||||
'ACCOUNTANTID' => '1',
|
||||
'ALIPAYACCOUNT' => '',
|
||||
'PAYPALACCOUNT' => '',
|
||||
'SLOGAN' => 'The Ultimate File Sharing Experience',
|
||||
'icplicense' => '',
|
||||
'autoclean_interval_one' => '900',
|
||||
'autoclean_interval_two' => '1800',
|
||||
'autoclean_interval_three' => '3600',
|
||||
'autoclean_interval_four' => '43200',
|
||||
'autoclean_interval_five' => '648000',
|
||||
'reportemail' => 'nobody@gmail.com',
|
||||
'invitesystem' => 'no',
|
||||
'registration' => 'yes',
|
||||
'showhotmovies' => 'no',
|
||||
'showclassicmovies' => 'no',
|
||||
'showimdbinfo' => 'no',
|
||||
'enablenfo' => 'yes',
|
||||
'enableschool' => 'no',
|
||||
'restrictemail' => 'no',
|
||||
'showpolls' => 'yes',
|
||||
'showstats' => 'yes',
|
||||
'showlastxtorrents' => 'no',
|
||||
'showtrackerload' => 'yes',
|
||||
'showshoutbox' => 'yes',
|
||||
'showfunbox' => 'no',
|
||||
'showoffer' => 'yes',
|
||||
'sptime' => 'no',
|
||||
'showhelpbox' => 'no',
|
||||
'enablebitbucket' => 'yes',
|
||||
'smalldescription' => 'yes',
|
||||
'altname' => NULL,
|
||||
'extforum' => 'no',
|
||||
'extforumurl' => 'http://www.cc98.org',
|
||||
'defaultlang' => 'en',
|
||||
'defstylesheet' => '3',
|
||||
'donation' => 'yes',
|
||||
'spsct' => NULL,
|
||||
'browsecat' => '4',
|
||||
'specialcat' => NULL,
|
||||
'waitsystem' => 'no',
|
||||
'maxdlsystem' => 'no',
|
||||
'bitbucket' => 'bitbucket',
|
||||
'torrentnameprefix' => '[Nexus]',
|
||||
'showforumstats' => 'yes',
|
||||
'verification' => 'automatic',
|
||||
'invite_count' => '0',
|
||||
'invite_timeout' => '7',
|
||||
'seeding_leeching_time_calc_start' => '',
|
||||
'startsubid' => NULL,
|
||||
'logo' => '',
|
||||
);
|
||||
$SECURITY=array(
|
||||
'securelogin' => 'no',
|
||||
'securetracker' => 'no',
|
||||
'https_announce_url' => '',
|
||||
'iv' => 'yes',
|
||||
'maxip' => '2',
|
||||
'maxloginattempts' => '10',
|
||||
'changeemail' => 'no',
|
||||
'cheaterdet' => '1',
|
||||
'nodetect' => '11',
|
||||
);
|
||||
$SMTP=array(
|
||||
'smtptype' => 'advanced',
|
||||
'emailnotify' => 'no',
|
||||
'smtp_host' => 'localhost',
|
||||
'smtp_port' => '233',
|
||||
'smtp_from' => NULL,
|
||||
);
|
||||
$TORRENT=array(
|
||||
'prorules' => 'no',
|
||||
'randomhalfleech' => '5',
|
||||
'randomfree' => '2',
|
||||
'randomtwoup' => '2',
|
||||
'randomtwoupfree' => '1',
|
||||
'randomtwouphalfdown' => '0',
|
||||
'randomthirtypercentdown' => '0',
|
||||
'largesize' => '20',
|
||||
'largepro' => '2',
|
||||
'expirehalfleech' => '150',
|
||||
'expirefree' => '60',
|
||||
'expiretwoup' => '60',
|
||||
'expiretwoupfree' => '30',
|
||||
'expiretwouphalfleech' => '30',
|
||||
'expirethirtypercentleech' => '0',
|
||||
'expirenormal' => '0',
|
||||
'hotdays' => '7',
|
||||
'hotseeder' => '10',
|
||||
'halfleechbecome' => '1',
|
||||
'freebecome' => '1',
|
||||
'twoupbecome' => '1',
|
||||
'twoupfreebecome' => '1',
|
||||
'twouphalfleechbecome' => '1',
|
||||
'thirtypercentleechbecome' => '1',
|
||||
'normalbecome' => '1',
|
||||
'uploaderdouble' => '1',
|
||||
'deldeadtorrent' => '0',
|
||||
);
|
||||
$TWEAK=array(
|
||||
'where' => 'no',
|
||||
'iplog1' => 'yes',
|
||||
'bonus' => 'enable',
|
||||
'datefounded' => '2010-08-19',
|
||||
'titlekeywords' => '',
|
||||
'metakeywords' => '',
|
||||
'metadescription' => '',
|
||||
'enablelocation' => 'yes',
|
||||
'enablesqldebug' => 'no',
|
||||
'sqldebug' => '13',
|
||||
'cssdate' => '',
|
||||
'enabletooltip' => 'yes',
|
||||
'prolinkimg' => 'pic/prolink.png',
|
||||
'analyticscode' => '',
|
||||
);
|
||||
Reference in New Issue
Block a user