Skip to content

Commit 4c31516

Browse files
committed
Fix CS
1 parent 129ee8f commit 4c31516

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

mu-plugins/revslider.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
*
66
* revslider/revslider_admin.php:389
77
*
8-
* case "update_plugin":
9-
*
10-
* // self::updatePlugin(self::DEFAULT_VIEW);
8+
* case "update_plugin":
9+
* // self::updatePlugin(self::DEFAULT_VIEW);
1110
*
1211
* Patched in version 4.2
1312
*/

wp-config/wp-config.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
/** Shared hosting shortcomings. */
1111

1212
// // User home directory: absolute path without trailing slash.
13-
// if (empty($_SERVER['HOME'])) {
14-
// define('_HOME_DIR', realpath(getenv('HOME')));
15-
// } else {
16-
// define('_HOME_DIR', realpath($_SERVER['HOME']));
17-
// }
13+
// define('_HOME_DIR', realpath(empty($_SERVER['HOME']) ? getenv('HOME') : $_SERVER['HOME']));
1814
//
1915
// // Upload-temp and session directory.
2016
// ini_set('upload_tmp_dir', _HOME_DIR . '/tmp');

0 commit comments

Comments
 (0)