use in release versions only
This commit is contained in:
parent
12325943a1
commit
1eff19d1b0
@ -68,7 +68,7 @@ function serendipity_plugin_api_core_event_hook($event, &$bag, &$eventData, &$ad
|
||||
case 'js':
|
||||
// Add a global available (index.tpl; admin/index.tpl; preview_iframe.tpl) redirect error string function used by errorToExceptionHandler()
|
||||
// hardened by admin only - better have that here, to be reachable everywhere
|
||||
if( $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN ) {
|
||||
if( $serendipity['production'] === true && $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN ) {
|
||||
echo "
|
||||
function errorHandlerCreateDOM(htmlStr) {
|
||||
var frag = document.createDocumentFragment(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user