HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/innodrive/public/wp-config.php
<?php
/** @desc this loads the composer autoload file */
require_once dirname(__DIR__) . '/vendor/autoload.php';

use Dotenv\Dotenv;

defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));

switch(APPLICATION_ENV) {
    case "development":
        define('DB_NAME', 'innodrive');
        define('DB_USER', 'root');
        define('DB_PASSWORD', 'root');
        define('DB_HOST', 'mysqldb');
        define('DB_CHARSET', 'utf8mb4');
        define('DB_COLLATE', '');
        define('WP_DEBUG', true);
        define('SSL', false);
        define('IS_PRODUCTION', false);

        define('ARTICLE_PAGE_ID', 5591);
        define('ARTICLE_PAGE_ID_ENG', 5593);
        define('VIDEO_PAGE_ID', 6164);
        define('VIDEO_PAGE_ID_ENG', 6924);
        define('NEWS_PAGE_ID', 12);
        define('NEWS_PAGE_ID_ENG', 76);
        define('DEFAULT_PAGE_LIMIT', 20);
        break;
    case "test":
        define('DB_NAME', 'innodrive');
        define('DB_USER', 'quad');
        define('DB_PASSWORD', 'quad');
        define('DB_HOST', 'localhost');
        define('DB_CHARSET', 'utf8mb4');
        define('DB_COLLATE', '');
        define('WP_DEBUG', false);
        define('SSL', false);
        define('IS_PRODUCTION', false);

        define('ARTICLE_PAGE_ID', 5086);
        define('ARTICLE_PAGE_ID_ENG', 5088);
        define('NEWS_PAGE_ID', 12);
        define('NEWS_PAGE_ID_ENG', 76);
        define('VIDEO_PAGE_ID', 6139);
        define('VIDEO_PAGE_ID_ENG', 6141);
        define('DEFAULT_PAGE_LIMIT', 20);
        break;
    case "server2":
    case "production":
    default:
        define('DB_NAME', 'innodrive');
        define('DB_USER', 'innodrive');
        define('DB_PASSWORD', 'inno@#$KJ@#4');
        define('DB_HOST', 'localhost');
        define('DB_CHARSET', 'utf8mb4');
        define('DB_COLLATE', '');
        define('WP_DEBUG', false);
        define('SSL', true);
        define('IS_PRODUCTION', true);

        define('ARTICLE_PAGE_ID', 5591);
        define('ARTICLE_PAGE_ID_ENG', 5593);
        define('NEWS_PAGE_ID', 12);
        define('NEWS_PAGE_ID_ENG', 76);
        define('VIDEO_PAGE_ID', 6164);
        define('VIDEO_PAGE_ID_ENG', 7254);
        define('DEFAULT_PAGE_LIMIT', 20);
        break;
}

/** @desc this instantiates Dotenv and passes in our path to .env */
$dotenv = Dotenv::createImmutable(dirname(__DIR__));
$dotenv->load();

foreach ($_ENV as $key => $value) {
    if (!defined($key)) {
        define($key, $value);
    }
}


/**#@+
 * 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',         'm_)Mqq?Eg<Au WDKPl>8oCD`ksBt.]WC#A_uRAr=$3EuW/~s%=Be1t,EFmBv^?`!' );
define( 'SECURE_AUTH_KEY',  '-p/NZ_YAj-9%9x9EN+x.BvaEQQ6zELObP=#Qvvb**l1jgT+uISn[`yeF!Q5?4*aJ' );
define( 'LOGGED_IN_KEY',    'xY5mGQQ&C!h@%?b^J:8Jtaxni0SI&iE;/BTwi>LqB&YMP1h)Ja^|Ya;2*E1VT~R;' );
define( 'NONCE_KEY',        'IuD$U 0sY2~2BO$YK#w/.?x)v7W0Z7ML`v:a|%tS0cCWYvu[sm]JQ^RbH=Y{_MlG' );
define( 'AUTH_SALT',        '_I}b.Iy|`,xt F~E)X;F07UQQ]@F>Ia)4L:m!EFS^8#HhNg5AB_T8ODx6B1.khA3' );
define( 'SECURE_AUTH_SALT', 'EwHj7#O~AZVcKB?K?4J#n,/F^kA:6O$oW0F3}e/BE`Pe{j4A7sP;S9S{uTEQx8vw' );
define( 'LOGGED_IN_SALT',   '7v]t)&0D]d!9:VL^dZdYlP_sACt,)2fgt%wtE<LiW:4{r|&K@jw,i/Grz6(3;rcO' );
define( 'NONCE_SALT',       'd-vBfjGS|a`$W/u)-YCM.n.r/%AG:qk!p:i=9j),Iwi(THZ8L1X A[e4zs-AH`pJ' );

$host = isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : 'innodrive.loc';

define( 'WP_HOME', 'http' . ( SSL ? 's' : '' ) . '://' . $host);
define( 'WP_SITEURL', 'http' . ( SSL ? 's' : '' ) . '://' .$host);
define('WP_CONTENT_URL', WP_SITEURL . '/wp-content');
define('WP_PLUGIN_URL', WP_SITEURL . '/wp-content/plugins');
define('COOKIE_DOMAIN', $host); // relieve cooking setting for static domains

define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content' );
define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins');

define('FS_METHOD','direct');
define('ROOT', __DIR__);

if (empty($_SERVER['SERVER_NAME'])) {
    $_SERVER['SERVER_NAME'] = 'innodrive.ru';
}

$table_prefix = 'wp_';

/* That's all, stop editing! Happy publishing. */

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

/** Sets up WordPress vars and included files. */
require_once( ABSPATH . 'wp-settings.php' );