| @@ -113,17 +113,17 @@ | ||
| 113 | 113 | public static function get_config_file_path() { |
| 114 | 114 | $config_file = false; |
| 115 | 115 | |
| 116 | 116 | // phpcs:ignore WordPress.PHP.NoSilencedErrors |
| 117 | - if ( @\file_exists( ABSPATH . 'wp-config.php' ) ) { | |
| 117 | + if ( @file_exists( ABSPATH . 'wp-config.php' ) ) { | |
| 118 | 118 | |
| 119 | 119 | /** The config file resides in ABSPATH */ |
| 120 | 120 | $config_file = ABSPATH . 'wp-config.php'; |
| 121 | 121 | // phpcs:ignore WordPress.PHP.NoSilencedErrors |
| 122 | - } elseif ( @\file_exists( \dirname( ABSPATH ) . '/wp-config.php' ) && ! @\file_exists( \dirname( ABSPATH ) . '/wp-settings.php' ) ) { | |
| 122 | + } elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) { | |
| 123 | 123 | |
| 124 | 124 | /** The config file resides one level above ABSPATH but is not part of another installation */ |
| 125 | - $config_file = \dirname( ABSPATH ) . '/wp-config.php'; | |
| 125 | + $config_file = dirname( ABSPATH ) . '/wp-config.php'; | |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * Filter the config file path. |