diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-08-17 18:36:24 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-08-17 18:36:24 +0200 |
commit | 07b6c868b3a66efc2737dfc6459b4114fea59ba0 (patch) | |
tree | f31a4ff5bc91d0ffd3be408af88db8287789e25f /include/template_processor.php | |
parent | bdf42473a0341f291cd256323d122aa80bb0cb0b (diff) | |
download | volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.gz volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.bz2 volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.zip |
remove javascript to set selectect nav item. enanche img template prefetch ignoring
Diffstat (limited to 'include/template_processor.php')
-rw-r--r-- | include/template_processor.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/template_processor.php b/include/template_processor.php index f1d2eae4e..11769bbd0 100644 --- a/include/template_processor.php +++ b/include/template_processor.php @@ -11,15 +11,18 @@ private function _preg_error(){ switch(preg_last_error()){ - case PREG_INTERNAL_ERROR: die('PREG_INTERNAL_ERROR'); break; - case PREG_BACKTRACK_LIMIT_ERROR: die('PREG_BACKTRACK_LIMIT_ERROR'); break; - case PREG_RECURSION_LIMIT_ERROR: die('PREG_RECURSION_LIMIT_ERROR'); break; - case PREG_BAD_UTF8_ERROR: die('PREG_BAD_UTF8_ERROR'); break; - case PREG_BAD_UTF8_OFFSET_ERROR: die('PREG_BAD_UTF8_OFFSET_ERROR'); break; + case PREG_INTERNAL_ERROR: echo('PREG_INTERNAL_ERROR'); break; + case PREG_BACKTRACK_LIMIT_ERROR: echo('PREG_BACKTRACK_LIMIT_ERROR'); break; + case PREG_RECURSION_LIMIT_ERROR: echo('PREG_RECURSION_LIMIT_ERROR'); break; + case PREG_BAD_UTF8_ERROR: echo('PREG_BAD_UTF8_ERROR'); break; + case PREG_BAD_UTF8_OFFSET_ERROR: echo('PREG_BAD_UTF8_OFFSET_ERROR'); break; default: //die("Unknown preg error."); return; } + echo "<hr><pre>"; + debug_print_backtrace(); + die(); } private function _build_replace($r, $prefix){ |