Commit 21ee172b authored by Nicolas Nambinintsoa's avatar Nicolas Nambinintsoa
Browse files

Merge remote-tracking branch 'origin/master'

parents 58023dc7 80e7bd6c
...@@ -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