summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authorroot <root@vps-18a7a2b7.vps.ovh.ca>2023-04-13 18:50:16 -0400
committerroot <root@vps-18a7a2b7.vps.ovh.ca>2023-04-13 18:50:16 -0400
commita80b6938f438c6be9fc3ba13de70dca2e150f9e7 (patch)
treef09443a9c4ba5576a4b202160b31751304b8b71a /other
parentad0f80e4850bf0ba25db234e85b4d37c2c713150 (diff)
rm junk
Diffstat (limited to 'other')
-rwxr-xr-xother/junk/wp-config.sh111
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
5Random1=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
6Random2=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
7Random3=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
8Random4=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
9Random5=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
10Random6=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
11Random7=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
12Random8=$(tr -cd 0-9a-f < /dev/urandom | head -c32)
13
14cat <<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 */
37define( 'DB_NAME', '$1' );
38
39/** Database username */
40define( 'DB_USER', '$2' );
41
42/** Database password */
43define( 'DB_PASSWORD', '$3' );
44
45/** Database hostname */
46define( 'DB_HOST', 'localhost' );
47
48/** Database charset to use in creating database tables. */
49define( 'DB_CHARSET', 'utf8' );
50
51/** The database collate type. Don't change this if in doubt. */
52define( '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 */
65define( 'AUTH_KEY', '$Random1' );
66define( 'SECURE_AUTH_KEY', '$Random2' );
67define( 'LOGGED_IN_KEY', '$Random3' );
68define( 'NONCE_KEY', '$Random4' );
69define( 'AUTH_SALT', '$Random5' );
70define( 'SECURE_AUTH_SALT', '$Random6' );
71define( 'LOGGED_IN_SALT', '$Random7' );
72define( '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 */
96define( '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. */
105if ( ! defined( 'ABSPATH' ) ) {
106 define( 'ABSPATH', __DIR__ . '/' );
107}
108
109/** Sets up WordPress vars and included files. */
110require_once ABSPATH . 'wp-settings.php';
111END