40 if (! is_writable(NOALYSS_HOME)) {
43 if ( !is_writable(NOALYSS_INCLUDE)) {
59 throw new Exception(sprintf(_(
"Permission incorrecte : ne peut écrire dans %s ou %s"),NOALYSS_HOME,NOALYSS_INCLUDE),3);
63 if ($zip->open(NOALYSS_HOME.
"/tmp/".$this->get_file()))
66 if (!$zip->extractTo(NOALYSS_HOME.
"/../"))
68 throw new Exception(_(
"Echec mise à jour"), 1);
73 throw new Exception(_(
"Ce n'est pas un fichier valide"), 2);
Class Package Core to install the core , if possible.
can_install()
check if it is possible to install Are the folder html and include writeable ?
install()
Unzip the file and overwrite current implementation, the databases and modele are not upgraded.
package noalyss is the mother class of the class to install and download package