diff options
author | root <root@vps-18a7a2b7.vps.ovh.ca> | 2023-04-13 18:50:16 -0400 |
---|---|---|
committer | root <root@vps-18a7a2b7.vps.ovh.ca> | 2023-04-13 18:50:16 -0400 |
commit | a80b6938f438c6be9fc3ba13de70dca2e150f9e7 (patch) | |
tree | f09443a9c4ba5576a4b202160b31751304b8b71a /other | |
parent | ad0f80e4850bf0ba25db234e85b4d37c2c713150 (diff) |
rm junk
Diffstat (limited to 'other')
-rwxr-xr-x | other/junk/wp-config.sh | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/other/junk/wp-config.sh b/other/junk/wp-config.sh deleted file mode 100755 index 9e8a5d1..0000000 --- a/other/junk/wp-config.sh +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ "$1" -a "$2" -a "$3" ] || exit | ||
4 | |||
5 | Random1=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
6 | Random2=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
7 | Random3=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
8 | Random4=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
9 | Random5=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
10 | Random6=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
11 | Random7=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
12 | Random8=$(tr -cd 0-9a-f < /dev/urandom | head -c32) | ||
13 | |||
14 | cat <<END | ||
15 | <?php | ||
16 | /** | ||
17 | * The base configuration for WordPress | ||
18 | * | ||
19 | * The wp-config.php creation script uses this file during the installation. | ||
20 | * You don't have to use the web site, you can copy this file to "wp-config.php" | ||
21 | * and fill in the values. | ||
22 | * | ||
23 | * This file contains the following configurations: | ||
24 | * | ||
25 | * * Database settings | ||
26 | * * Secret keys | ||
27 | * * Database table prefix | ||
28 | * * ABSPATH | ||
29 | * | ||
30 | * @link https://wordpress.org/support/article/editing-wp-config-php/ | ||
31 | * | ||
32 | * @package WordPress | ||
33 | */ | ||
34 | |||
35 | // ** Database settings - You can get this info from your web host ** // | ||
36 | /** The name of the database for WordPress */ | ||
37 | define( 'DB_NAME', '$1' ); | ||
38 | |||
39 | /** Database username */ | ||
40 | define( 'DB_USER', '$2' ); | ||
41 | |||
42 | /** Database password */ | ||
43 | define( 'DB_PASSWORD', '$3' ); | ||
44 | |||
45 | /** Database hostname */ | ||
46 | define( 'DB_HOST', 'localhost' ); | ||
47 | |||
48 | /** Database charset to use in creating database tables. */ | ||
49 | define( 'DB_CHARSET', 'utf8' ); | ||
50 | |||
51 | /** The database collate type. Don't change this if in doubt. */ | ||
52 | define( 'DB_COLLATE', '' ); | ||
53 | |||
54 | /**#@+ | ||
55 | * Authentication unique keys and salts. | ||
56 | * | ||
57 | * Change these to different unique phrases! You can generate these using | ||
58 | * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}. | ||
59 | * | ||
60 | * You can change these at any point in time to invalidate all existing cookies. | ||
61 | * This will force all users to have to log in again. | ||
62 | * | ||
63 | * @since 2.6.0 | ||
64 | */ | ||
65 | define( 'AUTH_KEY', '$Random1' ); | ||
66 | define( 'SECURE_AUTH_KEY', '$Random2' ); | ||
67 | define( 'LOGGED_IN_KEY', '$Random3' ); | ||
68 | define( 'NONCE_KEY', '$Random4' ); | ||
69 | define( 'AUTH_SALT', '$Random5' ); | ||
70 | define( 'SECURE_AUTH_SALT', '$Random6' ); | ||
71 | define( 'LOGGED_IN_SALT', '$Random7' ); | ||
72 | define( 'NONCE_SALT', '$Random8' ); | ||
73 | |||
74 | /**#@-*/ | ||
75 | |||
76 | /** | ||
77 | * WordPress database table prefix. | ||
78 | * | ||
79 | * You can have multiple installations in one database if you give each | ||
80 | * a unique prefix. Only numbers, letters, and underscores please! | ||
81 | */ | ||
82 | \$table_prefix = 'wp_'; | ||
83 | |||
84 | /** | ||
85 | * For developers: WordPress debugging mode. | ||
86 | * | ||
87 | * Change this to true to enable the display of notices during development. | ||
88 | * It is strongly recommended that plugin and theme developers use WP_DEBUG | ||
89 | * in their development environments. | ||
90 | * | ||
91 | * For information on other constants that can be used for debugging, | ||
92 | * visit the documentation. | ||
93 | * | ||
94 | * @link https://wordpress.org/support/article/debugging-in-wordpress/ | ||
95 | */ | ||
96 | define( 'WP_DEBUG', false ); | ||
97 | |||
98 | /* Add any custom values between this line and the "stop editing" line. */ | ||
99 | |||
100 | |||
101 | |||
102 | /* That's all, stop editing! Happy publishing. */ | ||
103 | |||
104 | /** Absolute path to the WordPress directory. */ | ||
105 | if ( ! defined( 'ABSPATH' ) ) { | ||
106 | define( 'ABSPATH', __DIR__ . '/' ); | ||
107 | } | ||
108 | |||
109 | /** Sets up WordPress vars and included files. */ | ||
110 | require_once ABSPATH . 'wp-settings.php'; | ||
111 | END | ||