| 30 | | $plugin_ai = new AMD_AIP($prefixeTable, $main_plugin_object->getFileLocation()); |
| | 28 | /* |
| | 29 | * if the plugin is newly installed, display a special configuration page |
| | 30 | * otherwise, display normal page |
| | 31 | */ |
| | 32 | |
| | 33 | $config=Array(); |
| | 34 | GPCCore::loadConfig('amd', $config); |
| | 35 | |
| | 36 | if($config['newInstall']=='n') |
| | 37 | { |
| | 38 | include(AMD_PATH."amd_aip.class.inc.php"); |
| | 39 | $plugin_ai = new AMD_AIP($prefixeTable, $main_plugin_object->getFileLocation());} |
| | 40 | else |
| | 41 | { |
| | 42 | include(AMD_PATH."amd_aip_install.class.inc.php"); |
| | 43 | $plugin_ai = new AMD_AIPInstall($prefixeTable, $main_plugin_object->getFileLocation()); |
| | 44 | } |
| | 45 | |