You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.7 KiB
46 lines
1.7 KiB
Index: user/config-sample.php |
|
--- user/config-sample.php.orig 2017-04-23 15:08:06.000000000 +0200 |
|
+++ user/config-sample.php 2017-07-19 20:39:16.368883000 +0200 |
|
@@ -11,17 +11,17 @@ |
|
*/ |
|
|
|
/** MySQL database username */ |
|
-define( 'YOURLS_DB_USER', 'your db user name' ); |
|
+define( 'YOURLS_DB_USER', 'yourls' ); |
|
|
|
/** MySQL database password */ |
|
-define( 'YOURLS_DB_PASS', 'your db password' ); |
|
+define( 'YOURLS_DB_PASS', 'yourls' ); |
|
|
|
/** The name of the database for YOURLS */ |
|
define( 'YOURLS_DB_NAME', 'yourls' ); |
|
|
|
/** 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' ); |
|
+define( 'YOURLS_DB_HOST', '127.0.0.1:3306' ); |
|
|
|
/** MySQL tables prefix */ |
|
define( 'YOURLS_DB_PREFIX', 'yourls_' ); |
|
@@ -32,7 +32,7 @@ |
|
|
|
/** YOURLS installation URL -- all lowercase and with no trailing slash. |
|
** If you define it to "http://sho.rt", don't use "http://www.sho.rt" in your browser (and vice-versa) */ |
|
-define( 'YOURLS_SITE', 'http://your-own-domain-here.com' ); |
|
+define( 'YOURLS_SITE', 'http://example.com:8081' ); |
|
|
|
/** Server timezone GMT offset */ |
|
define( 'YOURLS_HOURS_OFFSET', 0 ); |
|
@@ -59,10 +59,9 @@ |
|
/** 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 */ |
|
+define( 'YOURLS_NO_HASH_PASSWORD', true ); |
|
$yourls_user_passwords = array( |
|
- 'username' => 'password', |
|
- // 'username2' => 'password2', |
|
- // You can have one or more 'login'=>'password' lines |
|
+ 'admin' => 'admin', |
|
); |
|
|
|
/** Debug mode to output some internal information
|
|
|