]> src.bluestatic.org Git - isso.git/commit
Simplifying the loading of templates so we don't have two exceptions to throw for...
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 16 Aug 2007 20:35:59 +0000 (20:35 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 16 Aug 2007 20:35:59 +0000 (20:35 +0000)
commit98eadce23a775a9c578a091683ab8c85f0b72ff5
tree585039f038a7b11576e353d2a5a702249a853a72
parent9403df44c7fe6d3fbb3815daa89457c39e3c8ab4
Simplifying the loading of templates so we don't have two exceptions to throw for the same type of error

* Template.php
(BSTemplate::_loadTemplate): Check if the path is a file and can be read, instead of checking the result of file_get_contents() becaues that way we don't throw multiple exceptions in the same method unnecessarily
Template.php