Merge branch 'develop' of github.com:getgrav/grav into develop

This commit is contained in:
Andy Miller
2014-10-08 13:24:52 -06:00
2 changed files with 3 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ class GPM extends Iterator
}
foreach ($this->installed['plugins'] as $slug => $plugin) {
if (!isset($repository[$slug])) {
if (!isset($repository[$slug]) || $plugin->symlink) {
continue;
}
@@ -223,7 +223,7 @@ class GPM extends Iterator
}
foreach ($this->installed['themes'] as $slug => $plugin) {
if (!isset($repository[$slug])) {
if (!isset($repository[$slug]) || $plugin->symlink) {
continue;
}

View File

@@ -32,6 +32,7 @@ class Package
$this->blueprints->set('package_type', $package_type);
$this->blueprints->set('description_html', $html_description);
$this->blueprints->set('description_plain', strip_tags($html_description));
$this->blueprints->set('symlink', is_link(USER_DIR . $package_type . DS . $this->blueprints->name));
}
}