Untitled

mail@pastecode.io avatar
unknown
php
3 years ago
1.2 kB
4
Indexable
Never
<?php
date_default_timezone_set("UTC");

const DB_host = 'localhost';
const DB_name = 'sql_yaoitoon_com';
const DB_user = 'sql_yaoitoon_com';
const DB_pass = 'E8FMhTPJKF3Z8cRM';
const DB_port = 3306;
const DB_prefix = 'wp_';
const DB_charset = 'utf8mb4';

const BASE_URL = 'https://yaoitoon.com'; // URL COVER WILL BE DISPLAY.

const COVER_PATH_PUBLIC ='/crawl/uploads/'; // Path To Display Cover
const COVER_PATH_SAVE = '/www/wwwroot/yaoitoon.com/crawl/uploads'; // Local Path Save Cover

const TIME_SLEEP = 0; // Time delay

const GENRES_STOP_CR = ""; // "Hentai,Gay,Loli"

const POSTED_BY = 1; // set user id post manga

// use for local server
const SAVE_TO_LOCAL = false;
const LOCAL_PATH_PUBLIC = '';
const LOCAL_PATH = '';

// use for ftp_storage server
const SAVE_TO_FTP = true;
const SERVER = 'storage.bunnycdn.com';
const USERNAME = 'hellcomic';
const PASSWORD = '56136335-7206-4788-810808b7fdfa-3d2b-40ed';
const PORT = 21;
const IMAGE_SAVE_PATH = 'hellcomic/uploads';
const IMAGE_CDN_URL = 'https://hellcomic.b-cdn.net/hellcomic/uploads/';

// set default storage show in chapter
const DEFAULT_STORAGE = 'ftp_storage';  // ftp_storage, proxy, local

LOG::setPath(ROOT_PATH. '/tmp/'); // set path save log crawler