mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 05:42:40 +01:00
Improve missing libphutil/ error
Summary: Be slightly more helpful. Test Plan: Hit error, was helped more than before. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T352 Differential Revision: https://secure.phabricator.com/D1859
This commit is contained in:
parent
9b48384415
commit
a38223023d
1 changed files with 3 additions and 2 deletions
|
@ -195,8 +195,9 @@ function setup_aphront_basics() {
|
||||||
ini_set('include_path', $libraries_root.':'.ini_get('include_path'));
|
ini_set('include_path', $libraries_root.':'.ini_get('include_path'));
|
||||||
@include_once $root.'libphutil/src/__phutil_library_init__.php';
|
@include_once $root.'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. Put libphutil/ next to ".
|
||||||
"include the parent directory of libphutil/.\n";
|
"phabricator/, or update your PHP 'include_path' to include ".
|
||||||
|
"the parent directory of libphutil/.\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue