Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing default views for the new error notices behaviour
- Loading branch information
Fabrice Luraine
committed
Jul 2, 2009
1 parent
baf841c
commit 7286a68
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<? if(!empty($notices)): ?> | ||
<div class="lim-debug lim-notices"> | ||
<h4> → Notices and warnings</h4> | ||
<dl> | ||
<? $cpt = 1; foreach($notices as $notice): ?> | ||
<dt>[<?=$cpt.'. '.error_type($notice['errno'])?>]</dt> | ||
<dd> | ||
<?=$notice['errstr']?> in <strong><code><?=$notice['errfile']?></code></strong> | ||
line <strong><code><?=$notice['errline']?></code></strong> | ||
</dd> | ||
<? $cpt++; endforeach; ?> | ||
</dl> | ||
<hr> | ||
</div> | ||
<? endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters