OSDN Git Service

前回のコミットの修正。より適切な条件に変更。
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 8 Apr 2012 16:51:56 +0000 (01:51 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 8 Apr 2012 16:51:56 +0000 (01:51 +0900)
nucleus/libs/SKIN.php

index d38b65a..f900cd1 100644 (file)
@@ -71,8 +71,8 @@ class Skin
                if ( $action_class != 'Actions' )\r
                {\r
                        if ( !class_exists($action_class, FALSE)\r
-                         && !file_exists("{$DIR_LIBS}{$action_class}.php")\r
-                         || !include("{$DIR_LIBS}{$action_class}.php") )\r
+                         && (!file_exists("{$DIR_LIBS}{$action_class}.php")\r
+                          || !include("{$DIR_LIBS}{$action_class}.php")) )\r
                        {\r
                                return;\r
                        }\r
@@ -80,8 +80,8 @@ class Skin
                else\r
                {\r
                        if ( !class_exists('Actions', FALSE)\r
-                         && !file_exists("{$DIR_LIBS}ACTIONS.php")\r
-                         || !include("{$DIR_LIBS}ACTIONS.php") )\r
+                         && (!file_exists("{$DIR_LIBS}ACTIONS.php")\r
+                          || !include("{$DIR_LIBS}ACTIONS.php")) )\r
                        {\r
                                return;\r
                        }\r
@@ -564,8 +564,8 @@ class Skin
                if ( $action_class != 'Actions' )\r
                {\r
                        if ( !class_exists($action_class, FALSE)\r
-                         && !file_exists("{$DIR_LIBS}{$action_class}.php")\r
-                         || !include("{$DIR_LIBS}{$action_class}.php") )\r
+                         && (!file_exists("{$DIR_LIBS}{$action_class}.php")\r
+                          || !include("{$DIR_LIBS}{$action_class}.php")) )\r
                        {\r
                                return;\r
                        }\r
@@ -573,8 +573,8 @@ class Skin
                else\r
                {\r
                        if ( !class_exists('Actions', FALSE)\r
-                         && !file_exists("{$DIR_LIBS}ACTIONS.php")\r
-                         || !include("{$DIR_LIBS}ACTIONS.php") )\r
+                         && (!file_exists("{$DIR_LIBS}ACTIONS.php")\r
+                          || !include("{$DIR_LIBS}ACTIONS.php")) )\r
                        {\r
                                return;\r
                        }\r