Changeset 19449
- Timestamp:
- 2010/11/07 03:01:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php
r19448 r19449 37 37 $objQuery = new SC_Query(); 38 38 $arrPlugins = $objQuery->get("dtb_plugin", "plugin_id", "plugin_name = ?",array($name)); 39 if(count($arrPlugins) == 0){ 40 $data = array( 39 $data = array( 41 40 'plugin_name' => $objForm->getValue('plugin_name'), 42 41 'path' => realpath(DATA_DIR.'/plugin/'.$objForm->getValue('plugin_name').'/'), … … 46 45 'version' => $this->getVersion() 47 46 48 ); 47 ); 48 49 if(count($arrPlugins) == 0){ 50 49 51 } 50 52 51 53 $objQuery->insert("dtb_plugin", $data); 52 54
Note: See TracChangeset
for help on using the changeset viewer.