diff options
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r-- | inc/poche/Poche.class.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 004cca8e..0be1668d 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas LÅ“uillet <support@inthepoche.com> | 6 | * @author Nicolas LÅ“uillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
@@ -29,7 +29,8 @@ class Poche | |||
29 | 'dark' => array('requires' => array('default')), | 29 | 'dark' => array('requires' => array('default')), |
30 | 'dmagenta' => array('requires' => array('default')), | 30 | 'dmagenta' => array('requires' => array('default')), |
31 | 'solarized' => array('requires' => array('default')), | 31 | 'solarized' => array('requires' => array('default')), |
32 | 'solarized-dark' => array('requires' => array('default')) | 32 | 'solarized-dark' => array('requires' => array('default')), |
33 | 'courgette' => array('requires' => array()) | ||
33 | ); | 34 | ); |
34 | 35 | ||
35 | public function __construct() | 36 | public function __construct() |
@@ -110,7 +111,7 @@ class Poche | |||
110 | $passTheme = TRUE; | 111 | $passTheme = TRUE; |
111 | # 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 |
112 | if (! self::$canRenderTemplates) { | 113 | if (! self::$canRenderTemplates) { |
113 | $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>'; |
114 | $passTheme = FALSE; | 115 | $passTheme = FALSE; |
115 | } | 116 | } |
116 | 117 | ||
@@ -968,7 +969,7 @@ class Poche | |||
968 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { | 969 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { |
969 | $version = file_get_contents($cache_file); | 970 | $version = file_get_contents($cache_file); |
970 | } else { | 971 | } else { |
971 | $version = file_get_contents('http://static.inthepoche.com/versions/' . $which); | 972 | $version = file_get_contents('http://static.wallabag.org/versions/' . $which); |
972 | file_put_contents($cache_file, $version, LOCK_EX); | 973 | file_put_contents($cache_file, $version, LOCK_EX); |
973 | } | 974 | } |
974 | return $version; | 975 | return $version; |