1
0
Commit Graph

27 Commits

Author SHA1 Message Date
Garvin Hicking
6f2858ad27 Fix the error_reporting somewhat; until now, prevent E_STRICT errors were not correctly surpressed, but
we need to do this, because otherwise older plugins will prevent Serendipity from loading.

I actually wanted to at least "break" stuff and report errors, when $serendipity['production'] is set to "debug".

However, this does NOT work for me (PHP 5.2); even when set to "debug", E_STRICT errors do not seem to show up.
I'm quite at a loss here, so anyone reading this, go ahead and inspect.

At least it makes this version work when "older" plugins exists. It would be great if the code could be made to show the debug errors in debug mode.

I shuffled around the error_reporting() position because when someone sets the variable in serendipity_config_local.inc.php it would be too early to affect code flow; now it should evaluate the variable properly.
2013-01-20 01:24:23 +01:00
Ian
6a796ebe93 Revert to 78cb307b73 2012-12-13 14:49:51 +01:00
Ian
4d9fa16b1e re-added 2.0 Smartification needs, which got lost by up-port 2012-06-13 16:17:11 +02:00
Garvin Hicking
f12f53aaab Damn, why does cherry picking not work? 2012-06-12 20:51:57 +02:00
Ian
d3e3ef3516 removed now obsolet internal function allowments 2012-06-01 14:57:56 +02:00
Ian
f9d2eaade9 better OR 2012-03-27 13:33:00 +02:00
Ian
9065abdb98 smartify installer without fail ... :D 2012-03-27 13:00:37 +02:00
onli
38104f37e2 smartified plugins.nc.php 2012-03-02 15:39:58 +01:00
Ian
7e41ce666e (experimental) extended Smarty_Security's allowed php_functions array (backend entries.inc.tpl) 2012-02-20 10:31:38 +01:00
Ian
82481fc1cf added nl2br to smarty allowed php modifiers 2012-01-03 14:14:14 +01:00
Ian
4db3a08f19 corrected note typos and changed trigger_errors error LEVEL
back to Warning as before, which still is halted by the smarty error handler
2011-12-25 15:24:08 +01:00
Garvin Hicking
933c63c904 Allow plugins to use fetch() call without the need to do any weird security_settings[INCLUDE_ALL] redirections 2011-12-22 12:16:34 +01:00
Garvin Hicking
59211ce36e Magic __set method to react to $serendipity['smarty']->security = false; which is the documented way in a template's config.inc.php to disable security in past s9y versions 2011-12-21 17:21:05 +01:00
Ian
7d9bf2e6c2 some doc cleanup in serendipity_smarty class 2011-12-05 13:12:17 +01:00
Ian
0682560ad8 last modified and doc header for last commit 2011-12-04 17:38:29 +01:00
Ian
747f9b207a enhanced get smarty object by instance function 2011-12-04 17:25:59 +01:00
Ian
b0377ef865 smarty compile dir - better exeption handler 2011-12-02 16:23:16 +01:00
Ian
7e0cdf30af throw exeption instead of die() 2011-12-01 15:53:10 +01:00
Ian
b84a8ccb53 date & tabs to spaces 2011-12-01 11:09:09 +01:00
Ian
dea13b461e some more caching docs in smarty class 2011-11-30 18:48:40 +01:00
Ian
b2affab6b8 Merge remote-tracking branch 'origin/master'
Conflicts:
	include/serendipity_smarty_class.inc.php
2011-11-30 18:43:25 +01:00
Ian
ebb8777932 some more caching docs in smarty clas 2011-11-30 18:40:28 +01:00
Ian
7fce1e47d8 S9y Smarty class: some more caching docs 2011-11-30 17:19:24 +01:00
Ian
436cc20a0b comment todo added 2011-11-28 12:31:09 +01:00
Ian
83185e6f28 experimental smarty class - some cleanup and noting 2011-11-28 11:33:53 +01:00
Garvin Hicking
2749dc54ad Smarty3 2011-11-24 12:16:02 +01:00
Garvin Hicking
23e5de77b7 merge Smarty3 by ophian 2011-11-24 12:14:03 +01:00