Changeset 9889


Ignore:
Timestamp:
03/26/11 19:11:54 (9 years ago)
Author:
Eric
Message:

Piwigo 2.2 compliance (nicer URL for admin panel)

Location:
extensions/LCAS/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/main.inc.php

    r9645 r9889  
    1717 
    1818if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    19 if (!defined('LCAS_DIR')) define('LCAS_DIR' , basename(dirname(__FILE__))); 
    2019if (!defined('LCAS_PATH')) define('LCAS_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 
    2120 
     
    4544    array( 
    4645      'NAME' => $name, 
    47       'URL'  => get_admin_plugin_menu_link(LCAS_PATH.'/admin/LCAS_admin.php') 
     46      'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH) 
    4847    ) 
    4948  ); 
Note: See TracChangeset for help on using the changeset viewer.