summaryrefslogtreecommitdiffstats
path: root/app/classes/Planet.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/classes/Planet.php')
-rw-r--r--app/classes/Planet.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/classes/Planet.php b/app/classes/Planet.php
index f502d7a..baba7c1 100644
--- a/app/classes/Planet.php
+++ b/app/classes/Planet.php
@@ -169,7 +169,7 @@ class Planet
public function download($max_load=0.1)
{
$max_load_feeds = ceil(count($this->people) * $max_load);
- $opml = OpmlManager::load(dirname(__FILE__).'/../../custom/people.opml');
+ $opml = OpmlManager::load(__DIR__.'/../../custom/people.opml');
foreach ($this->people as $feed) {
//Avoid mass loading with variable cache duration
@@ -203,7 +203,7 @@ class Planet
}
}
}
- OpmlManager::save($opml, dirname(__FILE__).'/../../custom/people.opml');
+ OpmlManager::save($opml, __DIR__.'/../../custom/people.opml');
}
public function sort()