Skip to content

Commit

Permalink
Moving config-sample.php to the user dir. Should have done this ages …
Browse files Browse the repository at this point in the history
…ago.

git-svn-id: http://yourls.googlecode.com/svn/trunk@656 12232710-3e20-11de-b438-597f59cd7555
  • Loading branch information
ozh committed Aug 1, 2011
1 parent 5089111 commit 44f44d5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions includes/config-sample.php → user/config-sample.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<?php
/* This is a sample config file.
* Edit this file with your own settings and save it as "config.php"
* You can leave it in the "includes" directory, or, better, move it to
* the "user" directory. This way, when a new version of YOURLS is available,
* simply delete everything but "/user", and upload the new version.
*/


/*
** MySQL settings - You can get this info from your web host
*/
Expand All @@ -30,7 +26,8 @@
** Site options
*/

/** YOURLS installation URL, no trailing slash. If you define it to http://site.com/, don't use www.site.com (and vice-versa) */
/** 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) */
define( 'YOURLS_SITE', 'http://site.com' );

/** Timezone GMT offset */
Expand All @@ -41,11 +38,11 @@
** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */
define( 'YOURLS_UNIQUE_URLS', true );

/** Private means protected with login/pass as defined below. Set to false for public usage. */
/** Private means protected with login/pass as defined below. Set to false for public usage on a restricted intranet or for test setups. */
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', 'qQ4KhL_pu|s@Zm7n#%:b^{A[vhm' );
define( 'YOURLS_COOKIEKEY', 'modify this text with something random' );

/** Username(s) and password(s) allowed to access the site */
$yourls_user_passwords = array(
Expand Down

0 comments on commit 44f44d5

Please sign in to comment.