Skip to content

Commit d1a67f0

Browse files
committed
debug
1 parent 63ea698 commit d1a67f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

P3AdminModule.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public function beforeControllerAction($controller, $action) {
6767
public static function findModules() {
6868

6969
$dir = Yii::app()->basePath;
70-
70+
71+
$return = array();
7172
foreach (scandir($dir . DIRECTORY_SEPARATOR . "extensions") AS $module) {
7273
if ((($module != ".") && ($module != "..")) && (is_dir($dir . DIRECTORY_SEPARATOR . "modules" . DIRECTORY_SEPARATOR . $module) && strstr($module, ".") === false)) {
7374
#Yii::import("application.modules." . $module . ".controllers.*");
@@ -81,6 +82,7 @@ public static function findApplicationControllers() {
8182

8283
$dir = Yii::app()->basePath;
8384

85+
$return = array();
8486
foreach (scandir($dir . DIRECTORY_SEPARATOR . "controllers") AS $controller) {
8587
if (substr($controller, 0, 1) != "." && (is_file($dir . DIRECTORY_SEPARATOR . "controllers" . DIRECTORY_SEPARATOR . $controller))) {
8688
#Yii::import("application.modules." . $module . ".controllers.*");

0 commit comments

Comments
 (0)