mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-12 10:16:18 +02:00
[3.1.0] Implement ConfigSchema interchange
- Implement exception hierarchy git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1582 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@ -32,7 +32,7 @@ class HTMLPurifier_ConfigSchema_StringHashParser
|
||||
public $default = 'ID';
|
||||
|
||||
public function parseFile($file) {
|
||||
if (!file_exists($file)) throw new Exception('File does not exist');
|
||||
if (!file_exists($file)) throw new HTMLPurifier_ConfigSchema_Exception('File ' . $file . ' does not exist');
|
||||
$fh = fopen($file, 'r');
|
||||
$state = false;
|
||||
$single = false;
|
||||
|
Reference in New Issue
Block a user