diff options
author | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
---|---|---|
committer | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
commit | b84b865d45b00600d982fef18991398cb655c7e9 (patch) | |
tree | 5f3d0432facd74395d029c480bb79d9e0669eb01 /atom.php | |
parent | f2788a4ed2eae7f0056ab200b8fc787ed20a32da (diff) | |
download | planet-b84b865d45b00600d982fef18991398cb655c7e9.tar planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.gz planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.bz2 planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.xz planet-b84b865d45b00600d982fef18991398cb655c7e9.zip |
Clean code
Replace dirname(__FILE__) by __DIR__.
Diffstat (limited to 'atom.php')
-rw-r--r-- | atom.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ <?php -include_once(dirname(__FILE__).'/app/app.php'); -include_once(dirname(__FILE__).'/app/lib/Cache.php'); +include_once(__DIR__.'/app/app.php'); +include_once(__DIR__.'/app/lib/Cache.php'); -if ($Planet->loadOpml(dirname(__FILE__).'/custom/people.opml') == 0) exit; +if ($Planet->loadOpml(__DIR__.'/custom/people.opml') == 0) exit; $Planet->loadFeeds(); $items = $Planet->getItems(); |