38 if ($zip->open(NOALYSS_HOME.
"/tmp/".$this->get_file()))
41 if (!$zip->extractTo(NOALYSS_PLUGIN))
43 throw new Exception(_(
"Echec installation plugin "), 1);
48 throw new Exception(_(
"Ce n'est pas un fichier valide"), 2);
57 if (is_writable(NOALYSS_PLUGIN))
package noalyss is the mother class of the class to install and download package
Manage the installation of plug.
can_install()
Check the NOALYSS_PLUGIN is writeable.