diff options
| author | 2013-06-15 16:42:50 +0200 | |
|---|---|---|
| committer | 2013-06-15 16:42:50 +0200 | |
| commit | fafddf2a20748cdbda1f974338528c8e488f4b11 (patch) | |
| tree | a81d7ff4049a8d2a54f9d125e0e91d7ab26ac507 /lib | |
| parent | 1863153b966af00078869b6634df1daa22cdcbfe (diff) | |
Fix issue #73 : ajout d'une page pour visualiser les logs
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/minz/View.php | 2 | ||||
| -rwxr-xr-x | lib/minz/dao/Model_txt.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/minz/View.php b/lib/minz/View.php index 5c329c159..2bb747aa9 100755 --- a/lib/minz/View.php +++ b/lib/minz/View.php @@ -71,7 +71,7 @@ class View { } else { Log::record ('File doesn\'t exist : `' . $this->view_filename . '`', - Log::WARNING); + Log::NOTICE); } } diff --git a/lib/minz/dao/Model_txt.php b/lib/minz/dao/Model_txt.php index ad15c8b36..c9d5cfe77 100755 --- a/lib/minz/dao/Model_txt.php +++ b/lib/minz/dao/Model_txt.php @@ -27,7 +27,7 @@ class Model_txt { */ public function __construct ($nameFile, $mode = 'a+') { $this->filename = $nameFile; - $this->file = fopen ($this->filename, $mode); + $this->file = @fopen ($this->filename, $mode); if (!$this->file) { throw new FileNotExistException ( |
