Ignore:
Timestamp:
03/15/11 20:25:09 (9 years ago)
Author:
patdenice
Message:

Clean code.
Rename files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/trunk/include/functions.inc.php

    r6351 r9712  
    295295  if (!version_compare($_POST['upgrade_to'], PHPWG_VERSION, '>')) 
    296296  { 
    297     redirect(get_admin_plugin_menu_link(AUTOUPDATE_PATH . '/autoupdate.php')); 
     297    redirect(get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))); 
    298298  } 
    299299 
     
    417417} 
    418418 
    419 if (!function_exists('is_webmaster')) 
    420 { 
    421   function is_webmaster($user_status = '') 
    422   { 
    423     return is_autorize_status(ACCESS_WEBMASTER, $user_status); 
    424   } 
    425 } 
    426  
    427419define('AU_DEFAULT_INDEX', file_get_contents(AUTOUPDATE_PATH.'index.php')); 
    428420?> 
Note: See TracChangeset for help on using the changeset viewer.