Hello, in trying to access admin from a new installation, I get the following error:
Parse error: parse error, unexpected T_IF, expecting ',' or ';'
admin/includes/init_includes/init_admin_auth.php on line 9
Here is a copy of the file init_admin_auth.php
<?php echo $PHP_SELF
/**
* @package admin
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: init_admin_auth.php 3001 2006-02-09 21:45:06Z wilt $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (!(basename($PHP_SELF) == FILENAME_LOGIN . '.php')) {
if (!isset($_SESSION['admin_id'])) {
if (!(basename($PHP_SELF) == FILENAME_PASSWORD_FORGOTTEN . '.php')) {
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
}
}
if ((basename($PHP_SELF) == FILENAME_LOGIN . '.php') and (substr_count(dirname($PHP_SELF),'//') > 0 or substr_count(dirname($PHP_SELF),'.php') > 0)) {
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
?>
Thanks in advance for any help.



