Changeset 3482
- Timestamp:
- Jul 1, 2009, 10:07:41 AM (15 years ago)
- Location:
- extensions/CommentEditor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CommentEditor/classes/ce_config.class.php
r3480 r3482 84 84 return false; 85 85 } 86 87 if (!isset($this->config_values[CE_CFG_COMMENT])) { 88 $this->setValue(CE_CFG_COMMENT, CE_CFG_DB_COMMENT); 89 } 86 90 $db_comment = sprintf($this->config_values[CE_CFG_COMMENT], 87 91 $this->db_key, … … 112 116 if (isset($default_config[CE_CFG_VERSION])) { 113 117 // Override version 114 $config-> config_values[CE_CFG_VERSION] = $default_config[CE_CFG_VERSION];118 $config->setValue(CE_CFG_VERSION, $default_config[CE_CFG_VERSION]); 115 119 } 116 120 if (isset($default_config[CE_CFG_COMMENT])) { 117 121 // Override comment 118 $config-> config_values[CE_CFG_COMMENT] = $default_config[CE_CFG_COMMENT];122 $config->setValue(CE_CFG_COMMENT, $default_config[CE_CFG_COMMENT]); 119 123 } 120 124 $result = $config->saveConfig(); -
extensions/CommentEditor/include/ce_common.inc.php
r3481 r3482 1 1 <?php 2 /* $Id: ce_common.inc.php,v 1.1 6 2009/06/30 21:53:18Criss Exp $ */2 /* $Id: ce_common.inc.php,v 1.17 2009/07/01 08:06:01 Criss Exp $ */ 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 … … 8 8 9 9 // Version 10 define('CE_VERSION', '1.0. m');10 define('CE_VERSION', '1.0.n'); 11 11 12 12 // Directories -
extensions/CommentEditor/main.inc.php
r3481 r3482 1 1 <?php 2 /* $Id: main.inc.php,v 1.2 0 2009/06/30 21:53:17Criss Exp $ */2 /* $Id: main.inc.php,v 1.21 2009/07/01 08:06:01 Criss Exp $ */ 3 3 /* 4 4 Plugin Name: Comment Editor 5 Version: 1.0. m5 Version: 1.0.n 6 6 Description: Allow to edit comment 7 7 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296 … … 11 11 12 12 /** History ** 13 2009-06-30 1.0.n 14 Fix another bug on plugin update... 15 13 16 2009-06-30 1.0.m 14 17 Fix another bug on plugin update...
Note: See TracChangeset
for help on using the changeset viewer.