Errors and exceptions handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@122 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -20,7 +20,7 @@ class PHPView implements iView
|
||||
public function __construct($config)
|
||||
{
|
||||
if (!isset($config['path'])) {
|
||||
throw new Exception('Configuration must have a "host".');
|
||||
throw new Exception('Configuration must have a "path".');
|
||||
}
|
||||
$this->setPath($config['path']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user