mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 12:36:30 +02:00
Merge branch 'develop' of https://github.com/getgrav/grav into develop
# By Djamil Legato (1) and Sommerregen (1) # Via Andy Miller (1) and Djamil Legato (1) * 'develop' of https://github.com/getgrav/grav: Fixed GPM issue when using cURL throwing an `Undefined offset: 1` exception Fix #248 (Plugin language interference) and fixed summary
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v0.9.35
|
||||
## XX/XX/2015
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed GPM issue when using cURL, throwing an `Undefined offset: 1` exception
|
||||
|
||||
# v0.9.34
|
||||
## 08/04/2015
|
||||
|
||||
|
||||
@@ -371,9 +371,7 @@ class Config extends Data
|
||||
foreach ((array) $languageFiles['user/plugins'] as $plugin => $item) {
|
||||
$lang_file = CompiledYamlFile::instance($item['file']);
|
||||
$content = $lang_file->content();
|
||||
foreach ((array) $content as $lang => $value) {
|
||||
$this->languages->join($lang, $value, '/');
|
||||
}
|
||||
$this->languages->mergeRecursive($content);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -160,6 +160,8 @@ class Response
|
||||
private static function getCurl()
|
||||
{
|
||||
$args = func_get_args();
|
||||
$args = count($args) > 1 ? $args : array_shift($args);
|
||||
|
||||
$uri = $args[0];
|
||||
$options = $args[1];
|
||||
$callback = $args[2];
|
||||
|
||||
@@ -332,7 +332,7 @@ class Page
|
||||
|
||||
// Return summary based on settings in site config file
|
||||
if (!$config['enabled']) {
|
||||
return $content;
|
||||
return $this->content();
|
||||
}
|
||||
|
||||
// Set up variables to process summary from page or from custom summary
|
||||
|
||||
Reference in New Issue
Block a user