Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

define("ROOT PATH", __DIR__);

//in php>5.3
define('ROOTPATH', dirname(__FILE__)); 
//else it's just:
define("ROOT PATH", __DIR__);
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+4 =