@@ -1176,29 +1176,29 @@ protected function _auth_override_check()
11761176 if (!empty ($ auth_override_class_method [$ this ->router ->class ]['* ' ])) // Check for class overrides
11771177 {
11781178 // None auth override found, prepare nothing but send back a TRUE override flag
1179- if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] == 'none ' )
1179+ if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] === 'none ' )
11801180 {
11811181 return TRUE ;
11821182 }
11831183
11841184 // Basic auth override found, prepare basic
1185- if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] == 'basic ' )
1185+ if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] === 'basic ' )
11861186 {
11871187 $ this ->_prepare_basic_auth ();
11881188
11891189 return TRUE ;
11901190 }
11911191
11921192 // Digest auth override found, prepare digest
1193- if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] == 'digest ' )
1193+ if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] === 'digest ' )
11941194 {
11951195 $ this ->_prepare_digest_auth ();
11961196
11971197 return TRUE ;
11981198 }
11991199
12001200 // Whitelist auth override found, check client's ip against config whitelist
1201- if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] == 'whitelist ' )
1201+ if ($ auth_override_class_method [$ this ->router ->class ]['* ' ] === 'whitelist ' )
12021202 {
12031203 $ this ->_check_whitelist_auth ();
12041204
@@ -1210,29 +1210,29 @@ protected function _auth_override_check()
12101210 if (!empty ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ]))
12111211 {
12121212 // None auth override found, prepare nothing but send back a TRUE override flag
1213- if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] == 'none ' )
1213+ if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] === 'none ' )
12141214 {
12151215 return TRUE ;
12161216 }
12171217
12181218 // Basic auth override found, prepare basic
1219- if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] == 'basic ' )
1219+ if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] === 'basic ' )
12201220 {
12211221 $ this ->_prepare_basic_auth ();
12221222
12231223 return TRUE ;
12241224 }
12251225
12261226 // Digest auth override found, prepare digest
1227- if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] == 'digest ' )
1227+ if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] === 'digest ' )
12281228 {
12291229 $ this ->_prepare_digest_auth ();
12301230
12311231 return TRUE ;
12321232 }
12331233
12341234 // Whitelist auth override found, check client's ip against config whitelist
1235- if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] == 'whitelist ' )
1235+ if ($ auth_override_class_method [$ this ->router ->class ][$ this ->router ->method ] === 'whitelist ' )
12361236 {
12371237 $ this ->_check_whitelist_auth ();
12381238
@@ -1251,29 +1251,29 @@ protected function _auth_override_check()
12511251 if (!empty ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ]))
12521252 {
12531253 // None auth override found, prepare nothing but send back a TRUE override flag
1254- if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] == 'none ' )
1254+ if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] === 'none ' )
12551255 {
12561256 return TRUE ;
12571257 }
12581258
12591259 // Basic auth override found, prepare basic
1260- if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] == 'basic ' )
1260+ if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] === 'basic ' )
12611261 {
12621262 $ this ->_prepare_basic_auth ();
12631263
12641264 return TRUE ;
12651265 }
12661266
12671267 // Digest auth override found, prepare digest
1268- if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] == 'digest ' )
1268+ if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] === 'digest ' )
12691269 {
12701270 $ this ->_prepare_digest_auth ();
12711271
12721272 return TRUE ;
12731273 }
12741274
12751275 // Whitelist auth override found, check client's ip against config whitelist
1276- if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] == 'whitelist ' )
1276+ if ($ auth_override_class_method_http [$ this ->router ->class ]['* ' ][$ this ->request ->method ] === 'whitelist ' )
12771277 {
12781278 $ this ->_check_whitelist_auth ();
12791279
@@ -1285,29 +1285,29 @@ protected function _auth_override_check()
12851285 if (!empty ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ]))
12861286 {
12871287 // None auth override found, prepare nothing but send back a TRUE override flag
1288- if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] == 'none ' )
1288+ if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] === 'none ' )
12891289 {
12901290 return TRUE ;
12911291 }
12921292
12931293 // Basic auth override found, prepare basic
1294- if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] == 'basic ' )
1294+ if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] === 'basic ' )
12951295 {
12961296 $ this ->_prepare_basic_auth ();
12971297
12981298 return TRUE ;
12991299 }
13001300
13011301 // Digest auth override found, prepare digest
1302- if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] == 'digest ' )
1302+ if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] === 'digest ' )
13031303 {
13041304 $ this ->_prepare_digest_auth ();
13051305
13061306 return TRUE ;
13071307 }
13081308
13091309 // Whitelist auth override found, check client's ip against config whitelist
1310- if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] == 'whitelist ' )
1310+ if ($ auth_override_class_method_http [$ this ->router ->class ][$ this ->router ->method ][$ this ->request ->method ] === 'whitelist ' )
13111311 {
13121312 $ this ->_check_whitelist_auth ();
13131313
0 commit comments