-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
31 lines (27 loc) · 825 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Includes Dropbox API TOKEN
*
* The configuration for using the dropbox account to upload/delete/modify files
*
* to Generate a token go to https://www.dropbox.com/developers/apps/create
* and creat an app then generate token
*
* @category Dropbox
* @package DropboxAPI
* @author RN Kushwaha <Rn.kushwaha022@gmail.com>
* @copyright 2017-2018 Cruzer Softwares
* @license The MIT License (MIT)
* @version 0.0.1
* @link https://github.com/CruzerSoftwares/DropboxAPI
* @since 0.0.1
*/
if(!defined('TOKEN')){
define('TOKEN', 'enter-your-dropbox-token-here');
}
if(!defined('MAX_UPLOAD_FILE_SIZE')){
define('MAX_UPLOAD_FILE_SIZE', 2097152);
}
if(!defined('SITE_URL')){
define('SITE_URL', 'http://'.$_SERVER['HTTP_HOST'].DIRECTORY_SEPARATOR.basename(__DIR__));
}