Skip to content

Commit cc28323

Browse files
authored
Deprecation-Notices in PHP 8.1 beseitigt (#83)
1 parent 211b3d0 commit cc28323

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

boot.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
if (!ini_get("auto_detect_line_endings")) {
13-
ini_set("auto_detect_line_endings", '1');
14-
}
15-
1612
use Sprog\Wildcard;
1713

1814
/**
@@ -119,7 +115,7 @@ class_alias('\Sprog\Wildcard', 'Wildcard');
119115
}
120116
}
121117
}
122-
$clang_id = str_replace('clang', '', rex_be_controller::getCurrentPagePart(3));
118+
$clang_id = str_replace('clang', '', rex_be_controller::getCurrentPagePart(3, ''));
123119
$page->setSubPath(rex_path::addon('sprog', 'pages/wildcard.clang_switch.php'));
124120
$clangAll = \rex_clang::getAll();
125121
$clangBase = $this->getConfig('clang_base');

0 commit comments

Comments
 (0)