Extension : fix path
This commit is contained in:
parent
b38e10d2ce
commit
5715daa8aa
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class Extension extends Menu_Ref_sql
|
|||
if (trim($this->me_code)=="") throw new Exception('Le code ne peut pas être vide');
|
||||
if (trim($this->me_menu)=="") throw new Exception('Le nom ne peut pas être vide');
|
||||
if (trim($this->me_file)=="") throw new Exception('Chemin incorrect');
|
||||
if (file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'ext'.DIRECTORY_SEPARATOR.$this->me_file) == false)
|
||||
if (file_exists(NOALYSS_PLUGIN.'/'.$this->me_file) == false)
|
||||
throw new Exception ('Extension non trouvée, le chemin est-il correct?');
|
||||
}
|
||||
/*!@brief search a extension, the what is the column (extends_code */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue