I’ve noticed a strange little issue with ditto (2.0.2 - affects earlier versions to, I think) when ’short_open_tag = Off’ in your php.ini file. It outputs this:
<?
// Use the following syntax $param = 'value';
?>
at the beginning of every section of Ditto output. This doesn’t actually seem to affect anything, as the code is ignored by browsers, but it’s a bit... untidy, I guess and was bugging me.
So, I tracked this down to the \snippets\ditto\configs\default.config.php file (which I hadn’t altered since installing Ditto 2.02). The file looked like this:
<?
// Use the following syntax $param = 'value';
?>
If I changed the file to this (i.e. using the long form php tags [tt]<?php[/tt] instead of the short ones [tt]<?[/tt]:
<?php
// Use the following syntax $param = 'value';
?>
the mysterious output went away. Just thought I’d let you know.
Cheers,
Dunc