Replace line 9 to 13 by :

$disabled = !isset($config['cdn_light']['HeadLink']) || !$config['cdn_light']['HeadLink']);