mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
update.php & daemon: chdir to script directory using __FILE__ magic constant
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
// Some configurable variable may be found below.
|
||||
|
||||
declare(ticks = 1);
|
||||
chdir(dirname(__FILE__));
|
||||
|
||||
define('DISABLE_SESSIONS', true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user