Browse Source

improve dir switch

master
filesite 6 months ago
parent
commit
3151e6326e
  1. 1
      themes/tajian/controller/MyController.php

1
themes/tajian/controller/MyController.php

@ -24,6 +24,7 @@ Class MyController extends SiteController { @@ -24,6 +24,7 @@ Class MyController extends SiteController {
$myDirs = Common::getMyDirs($loginedUser['cellphone']);
if (in_array($goDir, $myDirs)) {
Common::switchUserDir($goDir);
return $this->redirect("/{$goDir}/my/");
}
}

Loading…
Cancel
Save