File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 5
5
*
6
6
* revslider/revslider_admin.php:389
7
7
*
8
- * case "update_plugin":
9
- *
10
- * // self::updatePlugin(self::DEFAULT_VIEW);
8
+ * case "update_plugin":
9
+ * // self::updatePlugin(self::DEFAULT_VIEW);
11
10
*
12
11
* Patched in version 4.2
13
12
*/
Original file line number Diff line number Diff line change 10
10
/** Shared hosting shortcomings. */
11
11
12
12
// // 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']));
18
14
//
19
15
// // Upload-temp and session directory.
20
16
// ini_set('upload_tmp_dir', _HOME_DIR . '/tmp');
You can’t perform that action at this time.
0 commit comments