mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-28 06:47:11 +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