Here is my configuration from /user/config.php
<?php
/* This is a sample config file.
- Edit this file with your own settings and save it as âconfig.phpâ
-
- IMPORTANT: edit and save this file as plain ASCII text, using a text editor, for instance TextEdit on Mac OS or
- Notepad on Windows. Make sure there is no character before the opening <?php at the beginning of this file.
*/
/*
** MySQL settings - You can get this info from your web host
*/
/** MySQL database username /
define( âYOURLS_DB_USERâ, '******â );
/** MySQL database password /
define( âYOURLS_DB_PASSâ, '******â );
/** The name of the database for YOURLS /
define( âYOURLS_DB_NAMEâ, '*****â );
/** 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 */
define( âYOURLS_DB_PREFIXâ, âyourls_â );
/*
** Site options
*/
/** YOURLS installation URL â all lowercase, no trailing slash at the end.
** If you define it to âhttp://sho.rtâ, donât use âhttp://www.sho.rtâ in your browser (and vice-versa) */
define( âYOURLS_SITEâ, âhttps://test.zerocz.euâ );
/** Server timezone GMT offset */
define( âYOURLS_HOURS_OFFSETâ, +1 );
/** YOURLS language
** Change this setting to use a translation file for your language, instead of the default English.
** That translation file (a .mo file) must be installed in the user/language directory.
** See YOURLS in your language ¡ YOURLS/YOURLS Wiki ¡ GitHub for more information */
define( âYOURLS_LANGâ, ââ );
/** 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 Private Or Public ¡ YOURLS/YOURLS Wiki ¡ GitHub for more details if youâre unsure */
define( âYOURLS_PRIVATEâ, true );
/** 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â, â*************â );
/** 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 Username Passwords ¡ YOURLS/YOURLS Wiki ¡ GitHub for more information /
$yourls_user_passwords = array(
âondraâ => â*****************************â / Password encrypted by YOURLS */ ,
// âusername2â => âpassword2â,
// You can have one or more âloginâ=>âpasswordâ lines
);
/** 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 );
/*
** URL Shortening settings
*/
/** URL shortening method: 36 or 62 /
define( âYOURLS_URL_CONVERTâ, 36 );
/
- 36: generates all lowercase keywords (ie: 13jkm)
- 62: generates mixed case keywords (ie: 13jKm or 13JKm)
- Stick to one setting. Itâs best not to change after youâve started creating links.
*/
/**
- 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â,
);
/*
** Personal settings would go after here.
*/