diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-28 10:49:57 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-28 10:49:57 +0100 |
commit | 3e0e7e1208e8d3ee3b23df42ea119d7c50b0db5f (patch) | |
tree | 4965c0675215eb5c566a554f8f3ff35de60afe88 /inc/poche/Poche.class.php | |
parent | b8fdd2d85f76bb2dbf50bacec86e3be806bb2bcf (diff) | |
download | wallabag-3e0e7e1208e8d3ee3b23df42ea119d7c50b0db5f.tar.gz wallabag-3e0e7e1208e8d3ee3b23df42ea119d7c50b0db5f.tar.zst wallabag-3e0e7e1208e8d3ee3b23df42ea119d7c50b0db5f.zip |
[fix] inthepoche.com => wallabag.org
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r-- | inc/poche/Poche.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 4a5a954b..d4733218 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -111,7 +111,7 @@ class Poche | |||
111 | $passTheme = TRUE; | 111 | $passTheme = TRUE; |
112 | # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet | 112 | # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet |
113 | if (! self::$canRenderTemplates) { | 113 | if (! self::$canRenderTemplates) { |
114 | $this->notInstalledMessage[] = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.inthepoche.com/doku.php?id=users:begin:install">the documentation.</a>'; | 114 | $this->notInstalledMessage[] = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.wallabag.org/doku.php?id=users:begin:install">the documentation.</a>'; |
115 | $passTheme = FALSE; | 115 | $passTheme = FALSE; |
116 | } | 116 | } |
117 | 117 | ||
@@ -956,7 +956,7 @@ class Poche | |||
956 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { | 956 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { |
957 | $version = file_get_contents($cache_file); | 957 | $version = file_get_contents($cache_file); |
958 | } else { | 958 | } else { |
959 | $version = file_get_contents('http://static.inthepoche.com/versions/' . $which); | 959 | $version = file_get_contents('http://static.wallabag.org/versions/' . $which); |
960 | file_put_contents($cache_file, $version, LOCK_EX); | 960 | file_put_contents($cache_file, $version, LOCK_EX); |
961 | } | 961 | } |
962 | return $version; | 962 | return $version; |