Analog::WARNING
);
$this->setDisabled(self::DISABLED_MISS);
- } elseif (!file_exists($full_entry.'/_disabled')) {
+ } elseif (!file_exists($full_entry . '/_disabled')) {
include $full_entry . '/_define.php';
$this->id = null;
$this->mroot = null;
'acls' => $acls,
'date' => $release_date,
'priority' => $priority === null ?
- 1000 :
- (integer) $priority,
+ 1000 : (integer)$priority,
'root_writable' => is_writable($this->mroot),
'route' => $route
);
throw new \Exception(_T("Cannot activate plugin."));
}
- if (@unlink($this->disabled[$id]['root'].'/_disabled') === false) {
+ if (@unlink($this->disabled[$id]['root'] . '/_disabled') === false) {
throw new \Exception(_T("Cannot activate plugin."));
}
}