diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-03-09 09:02:34 +0100 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-03-09 09:02:34 +0100 |
commit | 926e36b8fdf8ceaf59ac72e1b28b862f42978b84 (patch) | |
tree | 302f7892e24e5a6a0b3582b7b137328824116058 /postload.php | |
parent | 66c2ad84d4d493865fbc5a5fbfbbc61ff0bb3edf (diff) | |
download | planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.gz planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.bz2 planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.xz planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.zip |
convert all files saved in Windows(CRLF) to Unix (LF)
Diffstat (limited to 'postload.php')
-rw-r--r-- | postload.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/postload.php b/postload.php index 64fd42e..8f18678 100644 --- a/postload.php +++ b/postload.php @@ -1,16 +1,16 @@ -<?php
-include_once(dirname(__FILE__).'/app/app.php');
-
-$Planet->addPerson(
- new PlanetFeed(
- '',
- htmlspecialchars_decode($_GET['url'], ENT_QUOTES),
- ''
- )
-);
-
-//Load feeds
-$Planet->download(1);
-header("Content-type: image/png");
-readfile(dirname(__FILE__)."/custom/img/feed.png");
-die();
+<?php +include_once(dirname(__FILE__).'/app/app.php'); + +$Planet->addPerson( + new PlanetFeed( + '', + htmlspecialchars_decode($_GET['url'], ENT_QUOTES), + '' + ) +); + +//Load feeds +$Planet->download(1); +header("Content-type: image/png"); +readfile(dirname(__FILE__)."/custom/img/feed.png"); +die(); |