While writing this line :-
define('APPLICATION_ROOT', $_SERVER('DOCUMENT_ROOT') );
in constants.php in CodeIgniter framework of PHP i get error Error :Function must be terminated with a string. Can i not use Super Global arrays in constants.php?
I don’t have an instance of CI up at the moment, but shouldn’t that line be:
(With the square braces instead of parens)