2014-06-12 18:16:54 +02:00
< ? php
/* This is a sample config file .
* Edit this file with your own settings and save it as " config.php "
*/
/*
** MySQL settings - You can get this info from your web host
*/
/** MySQL database username */
2020-09-25 10:59:45 +02:00
define ( 'YOURLS_DB_USER' , '__DB_NAME__' );
2014-06-12 18:16:54 +02:00
/** MySQL database password */
2020-09-25 10:59:45 +02:00
define ( 'YOURLS_DB_PASS' , '__DB_PASSWORD__' );
2014-06-12 18:16:54 +02:00
/** The name of the database for YOURLS */
2020-09-25 10:59:45 +02:00
define ( 'YOURLS_DB_NAME' , '__DB_NAME__' );
2014-06-12 18:16:54 +02:00
/** MySQL hostname .
** If using a non standard port , specify it like 'hostname:port' , eg . 'localhost:9999' or '127.0.0.1:666' */
define ( 'YOURLS_DB_HOST' , 'localhost' );
/** MySQL tables prefix */
2020-09-25 10:59:45 +02:00
define ( 'YOURLS_DB_PREFIX' , '__DB_NAME___' );
2014-06-12 18:16:54 +02:00
/*
** Site options
*/
/** YOURLS installation URL -- all lowercase and with no trailing slash .
** If you define it to " http://site.com " , don ' t use " http://www.site.com " in your browser ( and vice - versa ) */
2020-09-25 10:59:45 +02:00
define ( 'YOURLS_SITE' , 'https://__DOMAIN____PATH__' );
2014-06-12 18:16:54 +02:00
/** Timezone GMT offset */
2017-07-16 10:19:13 +02:00
define ( 'YOURLS_HOURS_OFFSET' , 0 );
2014-06-12 18:16:54 +02:00
/** YOURLS language or " locale " .
** Change this setting to " localize " YOURLS ( use a translation instead of the default English ) . A corresponding . mo file
** must be installed in the user / language directory .
** See http :// yourls . org / translations for more information */
2017-07-16 10:19:13 +02:00
define ( 'YOURLS_LANG' , '' );
2014-06-12 18:16:54 +02:00
/** Allow multiple short URLs for a same long URL
** Set to true to have only one pair of shortURL / longURL ( default YOURLS behavior )
** Set to false to allow multiple short URLs pointing to the same long URL ( bit . ly behavior ) */
define ( 'YOURLS_UNIQUE_URLS' , true );
/** Private means the Admin area will be protected with login / pass as defined below .
** Set to false for public usage ( eg on a restricted intranet or for test setups )
** Read http :// yourls . org / privatepublic for more details if you ' re unsure */
2019-01-05 18:29:57 +01:00
define ( 'YOURLS_PRIVATE' , false );
2014-06-12 18:16:54 +02:00
/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from http://yourls.org/cookie **/
define ( 'YOURLS_COOKIEKEY' , 'modify this text with something random' );
/** Username ( s ) and password ( s ) allowed to access the site . Passwords either in plain text or as encrypted hashes
** YOURLS will auto encrypt plain text passwords in this file
** Read http :// yourls . org / userpassword for more information */
$yourls_user_passwords = array (
);
/** Debug mode to output some internal information
** Default is false for live site . Enable when coding or before submitting a new issue */
define ( 'YOURLS_DEBUG' , false );
2017-07-16 10:19:13 +02:00
2014-06-12 18:16:54 +02:00
/*
** URL Shortening settings
*/
/** URL shortening method: 36 or 62 */
define ( 'YOURLS_URL_CONVERT' , 36 );
/*
* 36 : generates all lowercase keywords ( ie : 13 jkm )
* 62 : generates mixed case keywords ( ie : 13 jKm or 13 JKm )
* Stick to one setting . It 's best not to change after you' ve started creating links .
*/
2017-07-16 10:19:13 +02:00
/**
2014-06-12 18:16:54 +02:00
* Reserved keywords ( so that generated URLs won ' t match them )
* Define here negative , unwanted or potentially misleading keywords .
*/
$yourls_reserved_URL = array (
'porn' , 'faggot' , 'sex' , 'nigger' , 'fuck' , 'cunt' , 'dick' , 'gay' ,
);
/*
** Personal settings would go after here .
*/
2018-06-09 13:29:14 +02:00
//define( 'LDAPAUTH_HOST', 'localhost' );
//define( 'LDAPAUTH_PORT', '389' );
//define( 'LDAPAUTH_BASE', 'dc=yunohost,dc=org' );
//define( 'LDAPAUTH_USERNAME_FIELD', 'uid');