public static function UseSmarty(){
            $oThis = self::CreateInstanceIfNotExists();
            
            if(class_exists("Smarty")){
                $oThis->oSmarty = new Smarty();
                $oThis->oSmarty->compile_dir = Storage::Get("smarty.dir.compile");
                $oThis->oSmarty->config_dir = Storage::Get("smarty.dir.config");
                $oThis->oSmarty->cache_dir = Storage::Get("dir.public");
            }
        }