Quote:
Originally Posted by TNCclubman
cant find where its down twice...
|
Here's a code snippet from your original post, I've highlighted the duplicated variable.
Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'clubslist'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'navigation',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
$specialtemplates = array(
'birthdaycache',
'eventcache'
);
It shouldn't matter, your second one should override the first one - but it's just more work for the PHP engine to do.
I'll investigate the rest of the code in a little bit.