diff options
| author | 2013-11-17 02:56:30 +0100 | |
|---|---|---|
| committer | 2013-11-17 02:56:30 +0100 | |
| commit | 9c5c023e36a24b58baeab108012cd9eb42ccda60 (patch) | |
| tree | 9fbb3cdf8780ea02c37ee44898a3b3838b972142 /app/controllers | |
| parent | b8c4afadf4bff7ac282ac5933eedccb1c666d873 (diff) | |
Réorganisation des fichiers utilisateur
Implémente https://github.com/marienfressinaud/FreshRSS/issues/248
Diffstat (limited to 'app/controllers')
| -rwxr-xr-x | app/controllers/entryController.php | 2 | ||||
| -rwxr-xr-x | app/controllers/indexController.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index 4d2d92c1b..8016d719f 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -84,7 +84,7 @@ class entryController extends ActionController { $entryDAO = new EntryDAO(); $entryDAO->optimizeTable(); - touch(PUBLIC_PATH . '/data/touch.txt'); + touch(DATA_PATH . '/touch.txt'); $notif = array ( 'type' => 'good', diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php index 224d6fb9e..392abd3e1 100755 --- a/app/controllers/indexController.php +++ b/app/controllers/indexController.php @@ -277,7 +277,7 @@ class indexController extends ActionController { $res = json_decode ($result, true); if ($res['status'] == 'okay' && $res['email'] == $this->view->conf->mailLogin ()) { Session::_param ('mail', $res['email']); - touch(PUBLIC_PATH . '/data/touch.txt'); + touch(DATA_PATH . '/touch.txt'); } else { $res = array (); $res['status'] = 'failure'; @@ -290,6 +290,6 @@ class indexController extends ActionController { public function logoutAction () { $this->view->_useLayout (false); Session::_param ('mail'); - touch(PUBLIC_PATH . '/data/touch.txt'); + touch(DATA_PATH . '/touch.txt'); } } |
