Skip to content

Commit

Permalink
Release 1.12.12
Browse files Browse the repository at this point in the history
  • Loading branch information
deadbeef84 committed Jul 11, 2017
1 parent 3a60b52 commit 0f43e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/Zend/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ class Zend_Application
*
* @param string $environment
* @param string|array|Zend_Config $options String path to configuration file, or array/Zend_Config of configuration options
* @param bool $suppressNotFoundWarnings Should warnings be suppressed when a file is not found during autoloading?
* @throws Zend_Application_Exception When invalid options are provided
* @return void
*/
public function __construct($environment, $options = null)
public function __construct($environment, $options = null, $suppressNotFoundWarnings = null)
{
$this->_environment = (string) $environment;

require_once 'Zend/Loader/Autoloader.php';
$this->_autoloader = Zend_Loader_Autoloader::getInstance();
$this->_autoloader->suppressNotFoundWarnings($suppressNotFoundWarnings);

if (null !== $options) {
if (is_string($options)) {
Expand Down

0 comments on commit 0f43e01

Please sign in to comment.