Homec4science

Allow libphutil autoload to coexist with other autoload

Authored by epriestley <git@epriestley.com> on Mar 2 2012, 02:23.

Description

Allow libphutil autoload to coexist with other autoload

Summary: If we fail to autoload we currently throw, but this breaks in the
presence of other autoloaders. Detect if there are other autoloaders and allow
them a chance to autoload.

Test Plan: Used PHPExcel to export excel documents (PHPExcel registers a
separate autoloader).

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T911

Differential Revision: https://secure.phabricator.com/D1747

Details

Committed
epriestley <git@epriestley.com>Mar 2 2012, 02:23
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU3276ad7783b1: Actually try to use `file` command in getting mime type
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUdbed7d749cae: Allow libphutil autoload to coexist with other autoload (authored by epriestley <git@epriestley.com>).Mar 2 2012, 02:23