Advertisement
Th3-822

[rapidleech][u] Generic plugin for sites with XFileSharing.

Aug 5th, 2013
1,036
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.60 KB | None | 0 0
  1. <?php
  2.  
  3. if (!defined('RAPIDLEECH')) exit;
  4. $_T8 = array('v' => 9); // Version of this config file. (Do Not Edit)
  5.  
  6. /* # Plugin's Settings # */
  7. $_T8['domain'] = 'domain.tld'; // May require the www. (Check first if the site adds the www.).
  8. $_T8['anonUploadDisable'] = false; // Disallow non-registered users upload. (XFS Pro)
  9. $_T8['anonUploadLimit'] = 0; // File-size limit for non-registered users (MB) | 0 = Plugin's limit | (XFS Pro)
  10.  
  11. // Advanced Settings (Don't edit it unless you know what are you doing)
  12.     $_T8['port'] = 80; // Server's port, default: 80 | 443 = https.
  13.     $_T8['xfsFree'] = false; // Change to true if the host is using XFS free.
  14.     $_T8['path'] = '/'; // URL path to XFS script, default: '/'
  15.     $_T8['sslLogin'] = false; // Force https on login.
  16.     $_T8['opUploadName'] = 'upload'; // Custom ?op=value for checking upload page, default: 'upload'
  17.     $_T8['flashUpload'] = false; // Forces the use of flash upload method... Also filename for .cgi if it's a non empty string. (XFS Pro)
  18.  
  19. $acc_key_name = str_ireplace(array('www.', '.'), array('', '_'), $_T8['domain']); // (Do Not Edit)
  20.  
  21. /* # Account Info # */
  22. $upload_acc[$acc_key_name]['user'] = ''; //Set your login
  23. $upload_acc[$acc_key_name]['pass'] = ''; //Set your password
  24.  
  25. if (!file_exists(HOST_DIR . 'upload/GenericXFSHost.inc.php')) html_error('Cannot load "'.htmlentities(HOST_DIR).'upload/GenericXFSHost.inc.php" (File doesn\'t exists), please install lastest version from: http://rapidleech.com/forum/viewtopic.php?f=17&t=80 or http://pastebin.com/E0z7qMU1 ');
  26. require(HOST_DIR . 'upload/GenericXFSHost.inc.php');
  27.  
  28. // Written by Th3-822
  29.  
  30. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement