I downloaded WAMP yesterday and [
localhost] was working fine up until just now. It now has a bunch of code at the top, before any of the content:
'NOW', 'CURDATE', 'CURTIME', 'FROM_DAYS', 'FROM_UNIXTIME', 'PERIOD_ADD', 'PERIOD_DIFF', 'TO_DAYS', 'UNIX_TIMESTAMP', 'WEEKDAY' ), 'FUNC_NUMBER' => array( 'ASCII', 'CHAR', 'MD5', 'SHA1', 'ENCRYPT', 'RAND', 'LAST_INSERT_ID', 'UNIX_TIMESTAMP', 'COUNT', 'AVG', 'SUM' ) ); // Default functions for above defined groups $cfg['DefaultFunctions'] = array( 'FUNC_CHAR' => '', 'FUNC_DATE' => '', 'FUNC_NUMBER' => '', 'first_timestamp' => 'NOW' ); } // end if // Search operators $cfg['NumOperators'] = array( '=', '>', '>=', '<', '<=', '!=', 'LIKE', 'NOT LIKE' ); $cfg['TextOperators'] = array( 'LIKE', 'LIKE %...%', 'NOT LIKE', '=', '!=', 'REGEXP', 'NOT REGEXP' ); $cfg['EnumOperators'] = array( '=', '!=' ); $cfg['SetOperators'] = array( 'IN', 'NOT IN' ); $cfg['NullOperators'] = array( 'IS NULL', 'IS NOT NULL' ); $cfg['UnaryOperators'] = array( 'IS NULL' => 1, 'IS NOT NULL' => 1 ); ?>
Does anyone know why that's there and how to get rid of it? It doesn't really affect the site it just looks kinda ugly!