Location: PHPKode > projects > MembersGear > membersgear/config/global_configuration_assign.php
<?php 

require_once PHYSICAL_DIR."/includes/system_get_set_options_class.php";
$option_obj=new system_get_set_options_class();

$smarty->assign  ('INCLUDE_DIR',                             stripslashes(INCLUDE_DIR));

$smarty->assign  ('CONFIG_DIR',                              stripslashes(CONFIG_DIR));



if( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')     

    $smarty->assign  ('WEB_URL',                                 stripslashes(WEB_URL_SECURE));
else
    $smarty->assign  ('WEB_URL',                                 stripslashes(WEB_URL));
    
$smarty->assign  ('WEB_URL_SECURE',                                 stripslashes(WEB_URL_SECURE));

//$smarty->assign  ('WEB_URL_SECURE',                           stripslashes($option_obj->get_option('WEB_URL_SECURE')));

$smarty->assign  ('PAYGEAR_WEB_URL',                          stripslashes(PAYGEAR_WEB_URL));

$smarty->assign  ('WEB_TITLE',                                stripslashes(WEB_TITLE));
                                                
$smarty->assign  ('SITE_VISIT_URL',                            stripslashes(SITE_VISIT_URL));

$smarty->assign  ('USER_JS_DIR',                               stripslashes(USER_JS_DIR));

$smarty->assign  ('USER_CSS_DIR',                              stripslashes(USER_CSS_DIR));

$smarty->assign  ('USER_IMAGE_DIR',                            stripslashes(USER_IMAGE_DIR));

$smarty->assign  ('ADMIN_JS_DIR',                              stripslashes(ADMIN_JS_DIR));

$smarty->assign  ('ADMIN_CSS_DIR',                             stripslashes(ADMIN_CSS_DIR));

$smarty->assign  ('ADMIN_IMAGE_DIR',                           stripslashes(ADMIN_IMAGE_DIR));

$smarty->assign  ('PHYSICAL_UPLOADS_DIR',                      stripslashes(PHYSICAL_UPLOADS_DIR));

$smarty->assign  ('VIRTUAL_UPLOADS_DIR',                       stripslashes(VIRTUAL_UPLOADS_DIR));

$smarty->assign  ('LIVE_MODE',                                 stripslashes(LIVE_MODE));

$smarty->assign  ('USER_MAX_LOGIN_ATTAMPT',                    stripslashes(USER_MAX_LOGIN_ATTAMPT));

$smarty->assign  ('CAPTCHA_ENABLE_ON_ADMINSTRATOR_LOGIN_PAGE', stripslashes(CAPTCHA_ENABLE_ON_ADMINSTRATOR_LOGIN_PAGE));

$smarty->assign  ('CAPTCHA_ENABLE_ON_USER_LOGIN_PAGE',         stripslashes(CAPTCHA_ENABLE_ON_USER_LOGIN_PAGE));

$smarty->assign   ('USER_SUPPORT_LINK',                        stripslashes(USER_SUPPORT_LINK));

$smarty->assign   ('IS_USER_SUPPORT_LINK_VISIBLE',             stripslashes(IS_USER_SUPPORT_LINK_VISIBLE));

$smarty->assign   ('IS_ROTATING_LOGIN_PAGES_ENABLED',          stripslashes(IS_ROTATING_LOGIN_PAGES_ENABLED));
                                                        
$smarty->assign   ('IS_ROTATING_LOGOUT_PAGES_ENABLED',         stripslashes(IS_ROTATING_LOGOUT_PAGES_ENABLED));

$smarty->assign('IS_USER_DELETE_BUTTON_VISIBLE',               stripslashes(IS_USER_DELETE_BUTTON_VISIBLE));

$smarty->assign('IS_ENABLE_ONE_TIME_OFFER',                    stripslashes(IS_ENABLE_ONE_TIME_OFFER));

$smarty->assign('MEMBER_SHOW_AFFILIATE',                    stripslashes(MEMBER_SHOW_AFFILIATE));


?>
Return current item: MembersGear