This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class RequirementsEnhancement extends Requirements { | |
| public static function ldJsonScript($script, $uniquenessID = null) { | |
| self::backend()->ldJsonScript($script, $uniquenessID); | |
| } | |
| } | |
| class Requirements_BackendEnhancement extends Requirements_Backend { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Control/Cookie.php b/src/Control/Cookie.php | |
| index 9c48b4ced..ce6e4b5fd 100644 | |
| --- a/src/Control/Cookie.php | |
| +++ b/src/Control/Cookie.php | |
| @@ -5,6 +5,11 @@ namespace SilverStripe\Control; | |
| use SilverStripe\Core\Config\Configurable; | |
| use SilverStripe\Core\Injector\Injector; | |
| +use function in_array; | |
| +use function strtolower; |
OlderNewer