| Server IP : 142.11.234.102 / Your IP : 216.73.217.78 Web Server : Apache System : Linux dal-shared-66.hostwindsdns.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : krnuyqrm ( 1183) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/var/softaculous/videodb/ |
Upload File : |
<?php
/**
* Global config file
*
* Sets database connection Strings and debug option
*
* @package Setup
* @author Andreas Gohr <a.gohr@web.de>
* @author Andreas Goetz <cpuidle@gmx.de>
* @version $Id: config.sample.php,v 1.10 2012/06/14 17:17:36 andig2 Exp $
*/
/* Database configuration */
$config['db_server'] = '[[softdbhost]]'; // database server
$config['db_user'] = '[[softdbuser]]'; // DB user for connection
$config['db_password'] = '[[softdbpass]]'; // password for above user
$config['db_database'] = '[[softdb]]'; // Database name
$config['db_prefix'] = '[[dbprefix]]'; // Database table prefix (for use in hosting environments)
$config['offline'] = 0; // Use to take videoDB offline
/* Debug options */
$config['debug'] = 0; // Usually leave this at 0
$config['httpclientlog'] = 0; // HttpClient logging (debug only)
/* Cache configuration */
$config['IMDBage'] = 3600*24*7; // Maximum cache age in seconds
$config['hierarchical'] = 1; // Set to 1 to enable hierarchical cache folders (if existing!)
$config['cache_pruning'] = 1; // Set to 1 to enable automatical cleanup of cache folders
/* Defaults for external data lookup */
$config['lookupdefault_edit'] = 0; // 0=ignore, 1=lookup, 2=overwrite
$config['lookupdefault_new'] = 2; // 0=ignore, 1=lookup, 2=overwrite
/*
* Amount of digits which are automatically generated as DiskID
* if "Automatic DiskID" is enabled in the configuration tab
*/
$config['diskid_digits'] = 4;
/* XML Import/Export */
$config['xml'] = 0; // Set to 1 to enable XML data im/export - import requires php5
/* RSS Feed */
$config['rss'] = 1; // Set to 1 to enable RSS Feed
/*
* Thumbnail configuration
*
* If you're running videodb over a low bandwidth connection with many users or want to enhance
* image quality by applying smooth scaling, use the following settings to control the behavior.
*
* Define when thumbnails are created and which jpeg quality to use:
*/
define('TUMB_NO_SCALE', -1); // no scaling - use of thumbnails is disabled
define('TUMB_REDUCE_ONLY', 0); // reduce only - create thumbnails when requested image dimensions are smaller than original image
define('TUMB_SCALE', 1); // always scale - create thumbnails for all images (applies aliasing when scaling)
// or define a positive integer to check filesize - thumbnail is created when existing file is bigger than specified value
$config['thumbnail_level'] = TUMB_SCALE;
$config['thumbnail_quality'] = 80;
/*
* To enable PDF export you can uncomment the following line and edit
* the settings in pdf.inc.php.
* The required FPDF library is bundled in the lib/fpdf folder.
*/
require_once 'pdf.inc.php';
/*
* To enable XLS export you can uncomment the following line and edit
* the settings in xls.inc.php. This option requires the additional installation
* of "Spreadsheet OLE" and "Spreadsheet Excel Writer". They have to be accessible
* from the "include_path" which is set inside "php.ini".
*
* In the Apache Distribution XAMPP it is included by default.
* On gentoo linux systems you can easily add it by typing
* emerge dev-php/PEAR-Spreadsheet_Excel_Writer
*
* Official Website:
* http://pear.php.net/package/Spreadsheet_Excel_Writer/
*/
// require_once 'xls.inc.php';
/*
* To get access to FSK18 rated movies in the german dvdb engine you
* have to enter your dvdb user id and password. If you don't have a
* user you can go to http://www.dvdb.de and click on 'Neu registrieren'.
* Don't forget to enter the identification card id to get FSK18 access!
*/
$config['dvdb_user'] = '';
$config['dvdb_password'] = '';
?>