From eab3d5e20e3c823b32aa320f6816f3edb6993d95 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 8 Mar 2007 01:55:49 +0000 Subject: - plugin administration: small fix during activation phase - plugins: added 3 actions in category_cats.inc.php and 1 event that allow a plugin to decide if insertion to #history occurs - added a warning in section_init if script_basename() is not index or picture (I think we'll have issues on some servers with this function) - web service methods categories.getImages, tags.getImages and images.search return now the image comment git-svn-id: http://piwigo.org/svn/trunk@1880 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'admin/plugins.php') diff --git a/admin/plugins.php b/admin/plugins.php index da16841de..b10cc718e 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -89,10 +89,12 @@ INSERT INTO '.PLUGINS_TABLE.' (id,version) VALUES ("' if ( !isset($crt_db_plugin) ) { array_push($errors, 'CANNOT '. $_GET['action'] .' - NOT INSTALLED'); + break; } if ($crt_db_plugin['state']!='inactive') { array_push($errors, 'invalid current state '.$crt_db_plugin['state']); + break; } if ( file_exists($file_to_include) ) { -- cgit v1.2.3