"Parse error: syntax error, unexpected T_STRING in /home/dechost/public_html/index.php on line 2"
My line 2:
Code: Select all
define('CRACK_ROOT',dirname(__FILE__ ? __FILE__ : getenv('SCRIPT_FILENAME')));Thanks
Moderator: General Moderators
Code: Select all
define('CRACK_ROOT',dirname(__FILE__ ? __FILE__ : getenv('SCRIPT_FILENAME')));Did you add an ; in previous line?newbtophp wrote:I get this error when accessing index.php
"Parse error: syntax error, unexpected T_STRING in /home/dechost/public_html/index.php on line 2"
My line 2:
Can anyone help?Code: Select all
define('CRACK_ROOT',dirname(__FILE__ ? __FILE__ : getenv('SCRIPT_FILENAME')));
Thanks
Problem Solved. Thanks!anand wrote:Did you add an ; in previous line?newbtophp wrote:I get this error when accessing index.php
"Parse error: syntax error, unexpected T_STRING in /home/dechost/public_html/index.php on line 2"
My line 2:
Can anyone help?Code: Select all
define('CRACK_ROOT',dirname(__FILE__ ? __FILE__ : getenv('SCRIPT_FILENAME')));
Thanks
Welcome.newbtophp wrote: Problem Solved. Thanks!