Guest User

Untitled

a guest
Aug 11th, 2017
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. <?php
  2. /* This is a sample config file.
  3. * Edit this file with your own settings and save it as "config.php"
  4. *
  5. * IMPORTANT: edit and save this file as plain ASCII text, using a text editor, for instance TextEdit on Mac OS or
  6. * Notepad on Windows. Make sure there is no character before the opening <?php at the beginning of this file.
  7. */
  8.  
  9. /*
  10. ** MySQL settings - You can get this info from your web host
  11. */
  12.  
  13. /** MySQL database username */
  14. define( 'YOURLS_DB_USER', 'username' );
  15.  
  16. /** MySQL database password */
  17. define( 'YOURLS_DB_PASS', 'passwd' );
  18.  
  19. /** The name of the database for YOURLS */
  20. define( 'YOURLS_DB_NAME', 'yourls' );
  21.  
  22. /** MySQL hostname.
  23. ** If using a non standard port, specify it like 'hostname:port', eg. 'localhost:9999' or '127.0.0.1:666' */
  24. define( 'YOURLS_DB_HOST', 'bnbr.co' );
  25.  
  26. /** MySQL tables prefix */
  27. define( 'YOURLS_DB_PREFIX', 'yourls_' );
  28.  
  29. /*
  30. ** Site options
  31. */
  32.  
  33. /** YOURLS installation URL -- all lowercase, no trailing slash at the end.
  34. ** If you define it to "http://sho.rt", don't use "http://www.sho.rt" in your browser (and vice-versa) */
  35. define( 'YOURLS_SITE', 'https://bnbr.co' );
  36.  
  37. /** Server timezone GMT offset */
  38. define( 'YOURLS_HOURS_OFFSET', 0 );
  39.  
  40. /** YOURLS language
  41. ** Change this setting to use a translation file for your language, instead of the default English.
  42. ** That translation file (a .mo file) must be installed in the user/language directory.
  43. ** See http://yourls.org/translations for more information */
  44. define( 'YOURLS_LANG', '' );
  45.  
  46. /** Allow multiple short URLs for a same long URL
  47. ** Set to true to have only one pair of shortURL/longURL (default YOURLS behavior)
  48. ** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */
  49. define( 'YOURLS_UNIQUE_URLS', true );
  50.  
  51. /** Private means the Admin area will be protected with login/pass as defined below.
  52. ** Set to false for public usage (eg on a restricted intranet or for test setups)
  53. ** Read http://yourls.org/privatepublic for more details if you're unsure */
  54. define( 'YOURLS_PRIVATE', true );
  55.  
  56. /** 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 **/
  57. define( 'YOURLS_COOKIEKEY', '7c9PThQG6Tj69224gxZrSUnJ}Jp)NvbNyanK&5GM' );
  58.  
  59. /** Username(s) and password(s) allowed to access the site. Passwords either in plain text or as encrypted hashes
  60. ** YOURLS will auto encrypt plain text passwords in this file
  61. ** Read http://yourls.org/userpassword for more information */
  62. $yourls_user_passwords = array(
  63. 'username' => 'passwd',
  64. // 'username2' => 'password2',
  65. // You can have one or more 'login'=>'password' lines
  66. );
  67.  
  68. /** Debug mode to output some internal information
Advertisement
Add Comment
Please, Sign In to add comment