Topic: CuteNews has detected that you are including...

Hi, I have problem with process integrate CuteNews in Nano-CMS.

Cutenews save and install is OK.

I am write from my file:

$number = "6";   
$content=file_get_contents("cutenews/show_news.php");

and result is:

CuteNews has detected that you are including show_news.php using the URL to this file.
This is incorrect and you must include it using the PATH to show_news.php
Example:
this is WRONG :   <?PHP include("http://yoursite.com/cutenews/show_news.php"); ?>
this is CORRECT:   <?PHP include("cutenews/show_news.php"); ?>

what is problem?

Re: CuteNews has detected that you are including...

You should do not file_get_contents, but include

$number = 6;
ob_start();
include ("cutenews/show_news.php");
$content = ob_get_clean();

Best regards,
CN Support team