issue 73 Supporting easy install (autoinstall module) for each local(enlish, korean, etc)

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8580 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-07-08 07:41:15 +00:00
parent b5bcdda20e
commit cb13f541e8
4 changed files with 15 additions and 10 deletions

View file

@ -2,7 +2,7 @@
class ModuleInstaller {
var $package = null;
var $base_url = 'http://download.xpressengine.com/';
var $base_url;
var $temp_dir = './files/cache/autoinstall/';
var $target_path;
var $download_file;
@ -10,6 +10,11 @@
var $download_path;
var $ftp_password;
function setServerUrl($url)
{
$this->base_url = $url;
}
function uninstall()
{
$oModel =& getModel('autoinstall');