This question already has an answer here:
Install new PHP 7.01.
And have some errors:
PHP Notice: Undefined variable: __ROOT__ in C:\web\index.php on line 60
require_once($__ROOT__.'/base/DBMS.php'); // - line 70
</div>
This question already has an answer here:
Install new PHP 7.01.
And have some errors:
PHP Notice: Undefined variable: __ROOT__ in C:\web\index.php on line 60
require_once($__ROOT__.'/base/DBMS.php'); // - line 70
</div>
$__ROOT__
seem's to be your document root (writed as a "magic constant" variable.. and visibly, the transition to php7 broke... :)
often it's defined by using real php magic constant like :
For PHP >= 5.3.0 try
__DIR__
For PHP < 5.3.0 try
dirname(__FILE__)