Sha256: e0ded7c84a5c39b731dfc304ef276f8a4c4ba38538246b4937eeb1e5af6cd5a4
Contents?: true
Size: 529 Bytes
Versions: 11
Compression:
Stored size: 529 Bytes
Contents
<?php /** * @author AzT3K */ class AbcSecurityExtension extends Extension { public function onAfterInit() { $controller = $this->owner; $params = (object) $controller->getURLParams(); if ($params->Action == 'ping') { $requirements = LeftAndMainHelper::get_requirements(); foreach ($requirements['block'] as $file) { Requirements::block($file[0]); } foreach ($requirements['unblock'] as $file) { Requirements::unblock($file[0]); } } } }
Version data entries
11 entries across 11 versions & 1 rubygems