Get the following error when loading the app: Parse error: syntax error, unexpected '{' in C:\Wamp\www\Jabber\config.php on line 67
Line 67 is port setting which I have amended to 8080
Can someone take a look at my config.php file please, any help would be gratefully appreciated.
<?php /** * jobber job board platform * * @author Filip C.T.E. <http://www.filipcte.ro> <me@filipcte.ro> * @license You are free to edit and use this work, but it would be nice if you always referenced the original author ;) * (see license.txt). */
if(isset($_SERVER['SCRIPT_NAME'])) { # on Windows _APP_MAIN_DIR becomes \ and abs url would look something like HTTP_HOST\/restOfUrl, so \ should be trimed too # @modified Chis Florinel <chis.florinel@candoo.ro>
$app_main_dir = rtrim(dirname($_SERVER['SCRIPT_NAME']),'/\Jabber'); define('_APP_MAIN_DIR', $app_main_dir); } else { die('[config.php] Cannot determine APP_MAIN_DIR, please set manual and comment this line'); }