phpdoc tweaks. Props linuxologos. fixes #19580
git-svn-id: https://develop.svn.wordpress.org/trunk@20437 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
beac0e2e0f
commit
33052a4d1a
|
@ -18,7 +18,7 @@
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Define ABSPATH as this files directory */
|
/** Define ABSPATH as this file's directory */
|
||||||
define( 'ABSPATH', dirname(__FILE__) . '/' );
|
define( 'ABSPATH', dirname(__FILE__) . '/' );
|
||||||
|
|
||||||
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
|
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
|
||||||
|
@ -30,7 +30,7 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
|
||||||
|
|
||||||
} elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) {
|
} elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) {
|
||||||
|
|
||||||
/** The config file resides one level above ABSPATH but is not part of another install*/
|
/** The config file resides one level above ABSPATH but is not part of another install */
|
||||||
require_once( dirname(ABSPATH) . '/wp-config.php' );
|
require_once( dirname(ABSPATH) . '/wp-config.php' );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue