BP constant is defined the wrong way

Bug #568884 reported by Michael Sebel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sddCMS
Fix Released
Critical
Michael Sebel
2.8.0
Fix Released
Critical
Michael Sebel

Bug Description

Just installed sddCMS on a IIS which had notices turned on. In that
case, IIS isn't giving any output to the client. Great.

However it's because the BP constant is defined the following way:

define(BP,realpath($_SERVER['DOCUMENT_ROOT']));

But it should be:

define('BP',realpath($_SERVER['DOCUMENT_ROOT']));

..for PHP to not give a notice. Also, all constants are missing at the installer.

Changed in sddcms:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Michael Sebel (michael-sebel)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.