1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52: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:
epriestley 2012-03-12 17:06:18 -07:00
parent 9b48384415
commit a38223023d

View file

@ -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);
} }