Better use 'self'.
authorRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 23:58:57 +0000 (00:58 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 23:58:57 +0000 (00:58 +0100)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/template/class_BaseTemplateEngine.php

index 306867f..60f5a3c 100644 (file)
@@ -712,7 +712,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                                $this->loadTemplate($template, $ext);
                        } else {
                                // Throw it again
-                               throw new FileIoException($fqfn, FrameworkFileInputPointer::EXCEPTION_FILE_NOT_FOUND);
+                               throw new FileIoException($fqfn, self::EXCEPTION_FILE_NOT_FOUND);
                        }
                }