Gestion download au travers de premiumizeme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
845 B

<?php
define('DB_RWUSER', 'mydl');
define('DB_RWPASS', 'Rinhal3SwefVowsEj0');
define('DB_SERVER', 'mongodb');
define('DB_COLL', 'mydl');
/**
* Defini le repertoire temporaire ou seront stocke les downloads
*/
define('DOWNLOADINGDIR', __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'downloading');
/**
* Defini le repertoire definitif ou seront stocke les downloads
*/
define('DOWNLOADEDDIR', __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'root'.DIRECTORY_SEPARATOR.'downloaded');
/**
* Defini l'endroit ou se trouve le lock pour les download
*/
define('DOWNLOADLOCK', DOWNLOADINGDIR.DIRECTORY_SEPARATOR.'lock');
require_once __DIR__.'/../vendor/autoload.php';
include __DIR__.'/../lib/DbMongo.php';
include __DIR__.'/../lib/Download.php';
include __DIR__.'/../lib/PremiumizeMe.php';
include __DIR__.'/../lib/Stream.php';