mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 06:35:30 +02:00
Add a onPageFallBackUrl event when starting the fallbackUrl() method
Use case: allow to password-protect page media too via the Login plugin
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
# v1.1.0-rc.3
|
||||
## 06/xx/2016
|
||||
|
||||
1. [](#new)
|
||||
* Add a onPageFallBackUrl event when starting the fallbackUrl() method to allow the Login plugin to protect the page media
|
||||
1. [](#bugfix)
|
||||
* Respect `enable_asset_timestamp` settings for pipelined Assets [#906](https://github.com/getgrav/grav/issues/906)
|
||||
* Fixed collections end dates for 32-bit systems [#902](https://github.com/getgrav/grav/issues/902)
|
||||
|
||||
# v1.1.0-rc.2
|
||||
## 06/14/2016
|
||||
|
||||
|
||||
@@ -446,6 +446,8 @@ class Grav extends Container
|
||||
*/
|
||||
public function fallbackUrl($path)
|
||||
{
|
||||
$this->fireEvent('onPageFallBackUrl');
|
||||
|
||||
/** @var Uri $uri */
|
||||
$uri = $this['uri'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user