If the first line, regarding the include of common.php
, is supposed to be commented out, the syntax is invalid.
<?php
// include 'common.php';
# include "this_is_also_ignored";
/* Another line that is ignored, but you must close the comment with the character combination... */
You also appear to have a problem with newlines; you might check your editor settings, upload settings, etc. It appears the original code was written with an "LF" newline character, and has been transferred into an environment that requires "CRLF", so the newlines were lost and all the code has ended up on, mostly, one line.
I think you want this after the first line(s):
// Run cron according to SETTINGS as non-batch
if ($system->SETTINGS['cron'] == 2) {
include_once 'cron.php';
}
$fb_return_page = 'home';
$_SESSION['REDIRECT_AFTER_LOGIN'] = 'home';
$NOW = $system->CTIME;