redbaron76 / PongoCMS-Laravel-cms-bundle

a CMS bundle for Laravel 3.2 and Twitter Bootstrap 2.2.0
http://pongocms.com
Other
100 stars 32 forks source link

ENT_HTML5 causes failure in PHP 5.3.4 #14

Open litody opened 11 years ago

litody commented 11 years ago

ENT_HTML5 is only available in PHP 5.4 I think. I'm running PHP 5.3.4 and so is my target web host. This is limiting.

Error is thrown when trying to edit existing page. Click on Element dropdown and select a zone and following error is given.

Unhandled Exception Message: Use of undefined constant ENT_HTML5 - assumed 'ENT_HTML5' Location: G:\xxx\laravel\bundles\cms\controllers\page.php on line 536