issue 793, added a message about update core on easy install

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11089 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-08-27 06:05:03 +00:00
parent 9bcaa0f4de
commit 8240688732
3 changed files with 16 additions and 0 deletions

View file

@ -323,6 +323,11 @@
{
$package->depends[$key]->need_update = true;
$package->package_srl .= ",". $dep->package_srl;
if($dep->path === '.')
{
Context::set('contain_core', TRUE);
}
}
else
{
@ -338,6 +343,11 @@
$package->need_update = version_compare($package->version, $installedPackage->current_version, ">");
}
Context::set("package", $package);
if($package->path === '.')
{
Context::set('contain_core', TRUE);
}
}
if(!$_SESSION['ftp_password'])
{