Changeset 19564


Ignore:
Timestamp:
2010/11/07 05:09:08 (12 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

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

    r19551 r19564  
    8888            case 'install': 
    8989                $name = $this->objForm->getValue('plugin_name'); 
    90                 require_once(DATA_PATH.'/'.$name.'/'.$name.'.php'); 
     90                require_once(DATA_PATH.'/plugin/'.$name.'/'.$name.'.php'); 
    9191                $plugin = new $name(); 
    9292                $plugin->install(); 
     
    9494            case 'uninstall': 
    9595                $name = $this->objForm->getValue('plugin_name'); 
    96                 require_once(DATA_PATH.'/'.$name.'/'.$name.'.php'); 
     96                require_once(DATA_PATH.'/plugin/'.$name.'/'.$name.'.php'); 
    9797                $plugin = new $name(); 
    9898                $plugin->uninstall(); 
     
    100100            case 'enable': 
    101101                $name = $this->objForm->getValue('plugin_name'); 
    102                 require_once(DATA_PATH.'/'.$name.'/'.$name.'.php'); 
     102                require_once(DATA_PATH.'/plugin/'.$name.'/'.$name.'.php'); 
    103103                $plugin = new $name(); 
    104104                $plugin->enable(); 
Note: See TracChangeset for help on using the changeset viewer.