Commit 80e7bd6c authored by Yorre Rajaonarivelo's avatar Yorre Rajaonarivelo
Browse files

create a url description in news

parent 81bb8872
...@@ -24,6 +24,14 @@ class NewsController extends ApiController { ...@@ -24,6 +24,14 @@ class NewsController extends ApiController {
)*/ )*/
); );
} }
public function actionGetPageContent(){
if(isset($_POST['url'])){
echo file_get_contents($_POST['url']);;
}else{
echo "";
}
}
} }
?> ?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment