| Apache Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 uid=2234(oyaide) gid=100(users) groups=100(users) server ip : 213.186.33.18 | your ip : 216.73.216.136 safemode OFF > / home / oyaide / www / moycompany.com / piwigo2 / plugins / AMenuManager / |
| Filename | /home/oyaide/www/moycompany.com/piwigo2/plugins/AMenuManager/admin.php |
| Size | 1.19 kb |
| Permission | rw----r-- |
| Owner | oyaide : users |
| Create time | 03-Feb-2016 16:41 |
| Last modified | 28-May-2012 10:12 |
| Last accessed | 28-May-2012 10:12 |
| Actions | edit | rename | delete | download (gzip) |
| View | text | code | image |
<?php
/* -----------------------------------------------------------------------------
Plugin : Advanced Menu Manager
Author : Grum
email : grum@piwigo.org
website : http://photos.grum.dnsalias.com
PWG user : http://forum.phpwebgallery.net/profile.php?id=3706
<< May the Little SpaceFrog be with you ! >>
------------------------------------------------------------------------------
See main.inc.php for release information
--------------------------------------------------------------------------- */
if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
global $prefixeTable;
load_language('plugin.lang', AMM_PATH);
$main_plugin_object = get_plugin_data($plugin_id);
if(CommonPlugin::checkGPCRelease(AMM_GPC_NEEDED))
{
AMM_root::checkPluginRelease();
include(AMM_PATH."amm_aip.class.inc.php");
$plugin_ai = new AMM_AIP($prefixeTable, $main_plugin_object->getFileLocation());
}
else
{
/*
* plugin was upgraded, but GPC was not
* display a page to inform user to upgrade GPC
*/
include(AMM_PATH."amm_aip_release.class.inc.php");
$plugin_ai = new AMM_AIPRelease($prefixeTable, $main_plugin_object->getFileLocation());
}
$plugin_ai->manage();
?>
/* -----------------------------------------------------------------------------
Plugin : Advanced Menu Manager
Author : Grum
email : grum@piwigo.org
website : http://photos.grum.dnsalias.com
PWG user : http://forum.phpwebgallery.net/profile.php?id=3706
<< May the Little SpaceFrog be with you ! >>
------------------------------------------------------------------------------
See main.inc.php for release information
--------------------------------------------------------------------------- */
if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
global $prefixeTable;
load_language('plugin.lang', AMM_PATH);
$main_plugin_object = get_plugin_data($plugin_id);
if(CommonPlugin::checkGPCRelease(AMM_GPC_NEEDED))
{
AMM_root::checkPluginRelease();
include(AMM_PATH."amm_aip.class.inc.php");
$plugin_ai = new AMM_AIP($prefixeTable, $main_plugin_object->getFileLocation());
}
else
{
/*
* plugin was upgraded, but GPC was not
* display a page to inform user to upgrade GPC
*/
include(AMM_PATH."amm_aip_release.class.inc.php");
$plugin_ai = new AMM_AIPRelease($prefixeTable, $main_plugin_object->getFileLocation());
}
$plugin_ai->manage();
?>