Skip to content

Instantly share code, notes, and snippets.

View darwin26's full-sized avatar
๐Ÿ˜ƒ
hello

Chris darwin26

๐Ÿ˜ƒ
hello
View GitHub Profile
@darwin26
darwin26 / modul_output.php
Last active November 25, 2016 11:40
Modul - AddOn: bloecks - Status im Modul setzen
<?php
if (rex::isBackend()) {
$slice_status = bloecks_status_backend::setSliceStatus("REX_SLICE_ID", 0); // status: true/false
}
?>
<?php
error_reporting(0);
include 'redaxo/include/master.inc.php';
error_reporting(E_ALL ^E_NOTICE);
ini_set('display_errors', 1);
$CLONE_THIS_ID = 184;
$DUPLICATE_MODULES = true;
<?php
error_reporting(0);
include 'redaxo/include/master.inc.php';
error_reporting(E_ALL ^E_NOTICE);
ini_set('display_errors', 1);
$CLONE_THIS_ID = 184;
$DUPLICATE_MODULES = true;