I get a parse error in /code/tree.php, when I first run the program.
The error is: Parse error: syntax error, unexpected ':' in /home/justin75/theeditor.4egtv.net/code/tree.php on line 39
The code snipet is
public static function init() {
global $cnf,$code;
$i=Input::_get();
$showHidden=($i->showHidden ?: $cnf["showHidden"]);
$node=new TreeNode(realpath($code['root']),$showHidden);
Output::add("tree",$node);
}
Unfortantly I don't know enough about OOPHP to fix the issue.
I get a parse error in /code/tree.php, when I first run the program.
The error is: Parse error: syntax error, unexpected ':' in /home/justin75/theeditor.4egtv.net/code/tree.php on line 39
The code snipet is
Unfortantly I don't know enough about OOPHP to fix the issue.