diff options
| author | 2013-11-17 02:56:30 +0100 | |
|---|---|---|
| committer | 2013-11-17 02:56:30 +0100 | |
| commit | 9c5c023e36a24b58baeab108012cd9eb42ccda60 (patch) | |
| tree | 9fbb3cdf8780ea02c37ee44898a3b3838b972142 /app/models | |
| parent | b8c4afadf4bff7ac282ac5933eedccb1c666d873 (diff) | |
Réorganisation des fichiers utilisateur
Implémente https://github.com/marienfressinaud/FreshRSS/issues/248
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/Feed.php | 2 | ||||
| -rwxr-xr-x | app/models/RSSConfiguration.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index 2618d023f..adc8e1677 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -100,7 +100,7 @@ class Feed extends Model { return $this->nbNotRead; } public function favicon () { - $file = '/data/favicons/' . $this->id () . '.ico'; + $file = '/favicons/' . $this->id () . '.ico'; $favicon_url = Url::display ($file); if (!file_exists (PUBLIC_PATH . $file)) { diff --git a/app/models/RSSConfiguration.php b/app/models/RSSConfiguration.php index e79fd933b..f8379a625 100755 --- a/app/models/RSSConfiguration.php +++ b/app/models/RSSConfiguration.php @@ -348,7 +348,7 @@ class RSSConfigurationDAO extends Model_array { public $bottomline_link = 'yes'; public function __construct () { - parent::__construct (PUBLIC_PATH . '/data/Configuration.array.php'); + parent::__construct (DATA_PATH . '/Configuration.array.php'); // TODO : simplifier ce code, une boucle for() devrait suffir ! if (isset ($this->array['language'])) { |
