← Back to team overview

phpns-team team mailing list archive

Re: [Question #43428]: Separate News Pages

 

Question #43428 on phpns changed:
https://answers.launchpad.net/phpns/+question/43428

    Status: Open => Answered

alecwh proposed the following answer:
If that message is bothering you, you can remove it yourself. Open
up /shownews.php (in whatever editor you choose), and navigate to around
line 654.

You will see the following code:

		//if viewing shownews.php directly
		if (strstr($_SERVER['PHP_SELF'], "shownews.php")) {
			echo "<p><strong>You are viewing the shownews.php file directly! You
probably want to include this file, instead of just directly linking to
it.</strong> For a HOWTO, see <a href=\"help.php\">the help/manual
file.</a></p>";
		}

Just remove the whole block.

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.