From 4c31516149f55dcc9f08ec482aa92efc5469666b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 15 Sep 2023 11:35:09 +0000 Subject: [PATCH] Fix CS --- mu-plugins/revslider.php | 5 ++--- wp-config/wp-config.php | 6 +----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/mu-plugins/revslider.php b/mu-plugins/revslider.php index 77373ae..2bd2f84 100644 --- a/mu-plugins/revslider.php +++ b/mu-plugins/revslider.php @@ -5,9 +5,8 @@ * * revslider/revslider_admin.php:389 * - * case "update_plugin": - * - * // self::updatePlugin(self::DEFAULT_VIEW); + * case "update_plugin": + * // self::updatePlugin(self::DEFAULT_VIEW); * * Patched in version 4.2 */ diff --git a/wp-config/wp-config.php b/wp-config/wp-config.php index 8587f77..792486c 100644 --- a/wp-config/wp-config.php +++ b/wp-config/wp-config.php @@ -10,11 +10,7 @@ /** Shared hosting shortcomings. */ // // User home directory: absolute path without trailing slash. -// if (empty($_SERVER['HOME'])) { -// define('_HOME_DIR', realpath(getenv('HOME'))); -// } else { -// define('_HOME_DIR', realpath($_SERVER['HOME'])); -// } +// define('_HOME_DIR', realpath(empty($_SERVER['HOME']) ? getenv('HOME') : $_SERVER['HOME'])); // // // Upload-temp and session directory. // ini_set('upload_tmp_dir', _HOME_DIR . '/tmp');