Commit 16b13038 authored by frjo's avatar frjo
Browse files

Readd some of the activation code.

parent f1259496
......@@ -33,6 +33,14 @@ class ActivationCheck implements ActivationCheckInterface {
* {@inheritdoc}
*/
public function isActive() {
// Make it possible deactivate Colorbox with
// parameter ?colorbox=no in the url.
if (isset($_GET['colorbox']) && $_GET['colorbox'] == 'no') {
return FALSE;
}
else {
return TRUE;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment