Problem with PHP and the Comment Preview Page

For those of you who were having problems with php showing/working on the comment preview page, Rick has posted a fix for this:

There is an easy solution. I’ll post it here and it’ll show up in the next round of bug fixes.

Open: /core/core.output.php

Near line 130 you’ll see where the PHP is processed.

Change this:

if (REQ == ‘PAGE’ AND $PREFS->ini(‘demo_date’) == FALSE)

to this:

if (REQ != ‘CP’ AND $PREFS->ini(‘demo_date’) == FALSE)

Read the full discussion

How does this post make you feel?
  • Excited
  • Fascinated
  • Amused
  • Bored
  • Sad
  • Angry
This entry was posted in Uncategorized by Yoshi. Bookmark the permalink.

Comments are closed.