mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
@include_once libphutil, not @require_once
(Committing on behalf of @cpiro) Summary: there's a check beneath to see if it worked, but @require_once will fail silently if libphutil isn't available Test Plan: tried it with libphutil findable and not findable, got expected behavior Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1018
This commit is contained in:
parent
34451ceaaf
commit
fcf37e38e3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
$include_path = ini_get('include_path');
|
$include_path = ini_get('include_path');
|
||||||
ini_set('include_path', $include_path.':'.dirname(__FILE__).'/../../');
|
ini_set('include_path', $include_path.':'.dirname(__FILE__).'/../../');
|
||||||
@require_once 'libphutil/src/__phutil_library_init__.php';
|
@include_once 'libphutil/src/__phutil_library_init__.php';
|
||||||
if (!@constant('__LIBPHUTIL__')) {
|
if (!@constant('__LIBPHUTIL__')) {
|
||||||
echo "ERROR: Unable to load libphutil. Update your PHP 'include_path' to ".
|
echo "ERROR: Unable to load libphutil. Update your PHP 'include_path' to ".
|
||||||
"include the parent directory of libphutil/.\n";
|
"include the parent directory of libphutil/.\n";
|
||||||
|
|
Loading…
Reference in a new issue