mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
Deprecated Required parameter follows
Deprecated: Required parameter $home_root follows optional parameter $hide_index
This commit is contained in:
parent
c7e0fac35a
commit
114ce467f0
1 changed files with 2 additions and 2 deletions
|
@ -532,7 +532,7 @@ class Permalinks{
|
|||
* add/remove cms rules from $original_contents to get new $contents
|
||||
*
|
||||
*/
|
||||
public static function Rewrite_Rules( $hide_index = true, $home_root, $existing_contents = '', $www = null ){
|
||||
public static function Rewrite_Rules(?string $hide_index, $home_root, $existing_contents = '', $www = null ){
|
||||
|
||||
$existing_contents = (string)$existing_contents;
|
||||
|
||||
|
@ -659,7 +659,7 @@ RewriteRule .* - [F]
|
|||
* Optimally, generating rules for IIS would involve parsing the xml and integrating cms rules
|
||||
*
|
||||
*/
|
||||
public function Rewrite_RulesIIS( $hide_index = true, $existing_contents ){
|
||||
public function Rewrite_RulesIIS(?string $hide_index, $existing_contents ){
|
||||
|
||||
|
||||
// anything less than 80 characters can be replaced safely
|
||||
|
|
Loading…
Reference in a new issue