Cofig

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

const DB_host = 'localhost';
const DB_name = 'mangawuxia_1625827569';
const DB_user = 'mangawuxia_1625827569';
const DB_pass = 'uDzDBVV7JvIPiddPYOwhYhh9phYpfp1vY30JlQJQqp7DTGvfJgKq5';
const DB_port = 3306;
const DB_prefix = 'wp_';
const DB_charset = 'utf8';

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

const COVER_PATH_PUBLIC = '/wp-content/uploads/'; // Path To Display Cover
const COVER_PATH_SAVE = '/wp-content/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'; // hostname
const USERNAME = 'sasuchi'; // username
const PASSWORD = '5a468669-910a-415f-ba030c4be0e3-0cad-4802'; // pass
const PORT = 21; // port
const IMAGE_SAVE_PATH = 'uploads/manga';
const IMAGE_CDN_URL = 'https://sasuchi.b-cdn.net/uploads/manga/';

// 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