Skip to content

Parse error: in /code/tree.php on line 39 #17

@jumpcutking

Description

@jumpcutking

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions