mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
Codesniffer compliant: if, for and while
This commit is contained in:
@@ -194,7 +194,7 @@ class Template
|
||||
}
|
||||
|
||||
// new widget
|
||||
if(!class_exists($class)) {
|
||||
if (!class_exists($class)) {
|
||||
// try both lowercase and capitalized versions
|
||||
foreach (array(ucfirst($class), strtolower($class)) as $class) {
|
||||
if (file_exists($path . $class . '.php')) {
|
||||
|
||||
Reference in New Issue
Block a user