    public static function editor($mode = 'light'){
        $editor = Options::v('use_editor');
        if($editor == 'on'){
            $GLOBALS['editor'] = true;
        }else{
            $GLOBALS['editor'] = false;
        }
        if ($mode == 'light') {
            $GLOBALS['editor_mode'] = 'light';
        }else{
            $GLOBALS['editor_mode'] = 'full';
        }

        //return $editor;
    }

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.