mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Add some plugin triggers: o for help o for language o for site manager o for advanced features Allow to launch directly plugin page (without section key) Add add_index plugin, available on site manager and advanced features Configuration page and best help must be coming soon. git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+9
-1
@@ -42,7 +42,15 @@ $my_base_url = PHPWG_ROOT_PATH.'admin.php?page=plugins';
|
||||
// +-----------------------------------------------------------------------+
|
||||
if ( isset($_REQUEST['action']) and isset($_REQUEST['plugin']) )
|
||||
{
|
||||
$plugin_id = $_REQUEST['plugin'];
|
||||
if (function_exists('mysql_real_escape_string'))
|
||||
{
|
||||
$plugin_id = mysql_real_escape_string($_REQUEST['plugin']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$plugin_id = mysql_escape_string($_REQUEST['plugin']);
|
||||
}
|
||||
|
||||
$crt_db_plugin = get_db_plugins('', $plugin_id);
|
||||
if (!empty($crt_db_plugin))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user