Fixed plugins not generating their config file

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-25 18:52:14 +02:00
parent 8149c9e7ca
commit 6a4010a9af

View File

@ -69,6 +69,7 @@ class Config{
}
if(!file_exists($file)){
$this->config = $default;
$this->save();
}else{
if($this->type === CONFIG_DETECT){
$extension = explode(".", basename($this->file));