Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jul 16, 2016
2 parents 231bc81 + 6e6ff7c commit 1a1b291
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# v1.1.1
## 07/16/2016

1. [](#improved)
* Made `paramsRegex()` static to allow it to be called statically
1. [](#bugfix)
* Fixed backup when using very long site titles with invalid characters [grav-plugin-admin#701](https://github.com/getgrav/grav-plugin-admin/issues/701)
* Fixed a typo in the `webserver-configs/nginx.conf` example

# v1.1.0
## 07/14/2016

Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Some standard defines
define('GRAV', true);
define('GRAV_VERSION', '1.1.0');
define('GRAV_VERSION', '1.1.1');
define('GRAV_TESTING', false);
define('DS', '/');
define('GRAV_PHP_MIN', '5.5.9');
Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Backup/ZipBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static function backup($destination = null, callable $messager = null)
}
}

$name = Grav::instance()['config']->get('site.title', basename(GRAV_ROOT));
$name = substr(strip_tags(Grav::instance()['config']->get('site.title', basename(GRAV_ROOT))), 0, 20);

$inflector = new Inflector();

Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function buildHostname()
*
* @return string
*/
public function paramsRegex()
public static function paramsRegex()
{
return '/\/([^\:\#\/\?]*' . Grav::instance()['config']->get('system.param_sep') . '[^\:\#\/\?]*)/';
}
Expand Down
2 changes: 1 addition & 1 deletion webserver-configs/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server {
# `location /subfolder {`
# and the rewrite to use `/subfolder/index.php`
location / {
location / { try_files $uri $uri/ /index.php?_url=$uri; }
try_files $uri $uri/ /index.php?_url=$uri;
}
## End - Index

Expand Down

0 comments on commit 1a1b291

Please sign in to comment.