aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-17 02:56:30 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-17 02:56:30 +0100
commit9c5c023e36a24b58baeab108012cd9eb42ccda60 (patch)
tree9fbb3cdf8780ea02c37ee44898a3b3838b972142 /app/controllers/indexController.php
parentb8c4afadf4bff7ac282ac5933eedccb1c666d873 (diff)
Réorganisation des fichiers utilisateur
Implémente https://github.com/marienfressinaud/FreshRSS/issues/248
Diffstat (limited to 'app/controllers/indexController.php')
-rwxr-xr-xapp/controllers/indexController.php4
1 files changed, 2 insertions, 2 deletions
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');
}
}