Gary King |
03-29-2004 07:09 PM |
Quote:
Originally Posted by attroll
I have removed the following code from the PHP file and it still works. Could you tell me what the purpose of this code is and what it does?
Code:
// ################### 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(
'TEST',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
|
They save you queries; yes you can remove them, but they are there as 'fillers' so you can put in your own values if you ever need to.
They are for phrasegroups, and also for template-cache; meaning if you put your template names there then you will save 1 extra query.
|