I've noticed that the default images of the editor buttons don't work under PHP 5.4. That's caused by the function hex2bin(), that is defined in cmsimple/images.php (as it was missing from PHP), but finally was introduced in PHP 5.4. This can be fixed by replacing line 18-24 with:
Code: Select all
if (!function_exists('hex2bin')) {
function hex2bin($s) {
$bin = '';
for($i = 0; $i < strlen($s); $i += 2) {
$bin .= chr(hexdec(substr($s, $i, 2)));
}
return $bin;
}
}