Answers for "how to use define('ROOT_PATH', dirname(__DIR__).'/'); example"

PHP
1

define("ROOT PATH", __DIR__);

//in php>5.3
define('ROOTPATH', dirname(__FILE__)); 
//else it's just:
define("ROOT PATH", __DIR__);
Posted by: Guest on May-27-2021

Browse Popular Code Answers by Language