Use "getInlines()", not "_inlines", to access inlines on client Changeset objects
[phabricator/blender.git] / scripts / daemon / launch_daemon.php
blob44e70f710dd32f24484342479f87f8679f1f64ad
1 #!/usr/bin/env php
2 <?php
4 // NOTE: This is substantially the same as the libphutil/ "launch_daemon.php"
5 // script, except it loads the Phabricator environment and adds some Phabricator
6 // specific flags.
8 if (function_exists('pcntl_async_signals')) {
9 pcntl_async_signals(true);
10 } else {
11 declare(ticks = 1);
14 $root = dirname(dirname(dirname(__FILE__)));
15 require_once $root.'/scripts/__init_script__.php';
17 $overseer = new PhutilDaemonOverseer($argv);
19 $bootloader = PhutilBootloader::getInstance();
20 foreach ($bootloader->getAllLibraries() as $library) {
21 $overseer->addLibrary(phutil_get_library_root($library));
24 $overseer->run();