PHP Notice: Constant ABSPATH already defined at install.php
|Reported by:||lilyfan||Owned by:||dd32|
A PHP Notice below occurrs at wp-admin/install.php
Notice: Constant ABSPATH already defined in /Users/lily/Sites/wp/28/wp-load.php on line 20
There is no need to define ABSPATH at line 20 of install.php.
The place of wp-load.php is fixed at root directory of Wordpress,
therefore we can include wp-load.php as below:
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');