Changeset 19448


Ignore:
Timestamp:
2010/11/07 03:01:00 (12 years ago)
Author:
miningbrownie
Message:

auto commit by watch

Location:
branches/camp/camp-2_5-E/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r19446 r19448  
    8282                require_once(DATA_PATH.'/'.$name.'/'.$name.'.php'); 
    8383                $plugin = new $name(); 
    84                 if(count($arrPlugins) == 0){ 
    85                     //新規インストール 
    86                     $plugin->install(); 
    87                 }else{ 
    88                     //再インストール 
    89  
    90                 } 
     84                $plugin->install(); 
    9185                break; 
    9286            case 'uninstall': 
  • branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php

    r19447 r19448  
    3636    public function install(){ 
    3737        $objQuery = new SC_Query(); 
    38  
    3938        $arrPlugins = $objQuery->get("dtb_plugin", "plugin_id", "plugin_name = ?",array($name)); 
    4039        if(count($arrPlugins) == 0){ 
     
    4948            ); 
    5049        } 
     50         
    5151        $objQuery->insert("dtb_plugin", $data); 
    5252 
Note: See TracChangeset for help on using the changeset viewer.