if(THIS_SCRIPT == 'index') { $globaltemplates = array_merge($globaltemplates, array( 'xxx_yyyy', 'aaa_bbbb')); }