Answers for "for (path root : dirs)"

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