Making variable available in blocks?
    
        
                
            
                
                    So we're still on 0.9.3 in this particular project. We have a constant that we want to be able to use once we have Fuelified a page. So we added it to the globals.php file in _variables like so:
$vars['secure_base_url'] = SECURE_BASE_URL;
This seems to work fine in our other system that uses 1.1 but it seems that the CI instance is not loaded automatically in blocks in 0.9.3? So when I try to use this variable in a block it throws an undefined variable error. 
What's the best way to fix this?                
                             
         
     
 
                 
            
Comments
$CI =& get_instance();Also, is the following in your globals.php variables file?
$vars['CI'] =& get_instance();<?php $CI =& get_instance(); ?>It still isn't working. What am I doing wrong?
<?=$secure_base_url?><a href="<?=url('register', $secure_base_url)?>" class="button large" />Join</a>$CI =& get_instance(); <a href="<?=url('register', $CI->get_var('secure_base_url');?>" class="button large" />Join</a>