41 $this->file=basename(trim($full_path));
42 $this->path=dirname(trim($full_path));
97 $download_dir=NOALYSS_HOME.
"/tmp";
98 if (is_dir($download_dir)&&is_writable($download_dir))
112 $file = file_get_contents(NOALYSS_PACKAGE_REPOSITORY.
"/".$full);
113 $fh_file=fopen(NOALYSS_HOME.
"/tmp/".$this->get_file(),
"w+");
115 fwrite($fh_file,
$file);
package noalyss is the mother class of the class to install and download package
can_download()
check that NOALYSS_HOME exists and is writable
set_description($description)
__construct($name, $description, $full_path)