FreePBX / ucp

Module of FreePBX (User Control Panel) :: The user control panel is a way for users to control call handling and personal settings from a web browser.
http://www.freepbx.org
GNU Affero General Public License v3.0
4 stars 18 forks source link

Include less/Less.php, not less/Cache.php #2

Closed lidl closed 8 years ago

lidl commented 8 years ago

If the Cache module fails for some reason, it will attempt to throw a Less_Exception_Parser type of exception. However, if only the less/Cache.php file is included, that class will not have been defined. (It is defined in "less/Less.php".)

So, include less/Less.php, so the Less_Exception_Parser class can be defined, so when an error occurs, it can be reported successfully.