aboutsummaryrefslogtreecommitdiff
path: root/model/Relive.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-11 21:46:01 +0100
committerMaZderMind2016-12-11 21:46:01 +0100
commit284878f0f9917b55359cd464b86508cacc472653 (patch)
tree98014d22b46d7fc9601a3b7bbd26c56afb1cf45c /model/Relive.php
parent6e0f7423769174b83d6b5618db7c33d54967099a (diff)
add cache-file getters and download preparations
Diffstat (limited to 'model/Relive.php')
-rw-r--r--model/Relive.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/Relive.php b/model/Relive.php
index 7f0e747..5676b62 100644
--- a/model/Relive.php
+++ b/model/Relive.php
@@ -24,6 +24,11 @@ class Relive
return $this->getConference()->get('CONFERENCE.RELIVE_JSON');
}
+ public function getJsonCache()
+ {
+ return sprintf('/tmp/relive-cache-%s', $this->getConference()->getSlug());
+ }
+
public function getTalks()
{
if(!file_exists($this->getJsonUrl()))