Hey Insite. It seems like overkill to create my own $config file for this one item. I have stuck this in default3.php. default3.php gets called this way in the init(). $this->output->set_template('default3');
<?php
$typo=$this->config->item('TYPO');
if ($typo='SOFTWARE'){ <<<<<here
echo '<script type="text/JavaScript"><img src="<?php echo base_url(); ? >assets/themes/default/images/new_blue_logo_sub240x240.png" style="float:left;margin-top:5px;z-index:5" alt="logo"/>
</script>';
}
if ($typo='PHARMA'){
echo '<script type="text/JavaScript"><img src="<?php echo base_url(); ?>assets/themes/default/images/output-onlinepngtools (8).png" style="float:left;margin-top:5px;z-index:5" alt="logo"/>
</script>';
};
?>
$typo seems to be getting set correctly. But when I walk through it with the debugger, the line marked here causes the debugger to jump to and stop at a line in Loader.php. I have no idea why.
proof that an old dog can learn new tricks