1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00

Allow daemons to perform writes unconditionally.

This commit is contained in:
epriestley 2011-08-16 13:43:51 -07:00
parent 0964a9123f
commit 74f3112b1c

View file

@ -28,5 +28,8 @@ abstract class PhabricatorDaemon extends PhutilDaemon {
$phabricator = phutil_get_library_root('phabricator'); $phabricator = phutil_get_library_root('phabricator');
$root = dirname($phabricator); $root = dirname($phabricator);
require_once $root.'/scripts/__init_env__.php'; require_once $root.'/scripts/__init_env__.php';
// Daemons may perform writes.
AphrontWriteGuard::allowDangerousUnguardedWrites(true);
} }
} }