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 {
$myDirs = Common::getMyDirs($loginedUser['cellphone']); $myDirs = Common::getMyDirs($loginedUser['cellphone']);
if (in_array($goDir, $myDirs)) { if (in_array($goDir, $myDirs)) {
Common::switchUserDir($goDir); Common::switchUserDir($goDir);
return $this->redirect("/{$goDir}/my/");
} }
} }

Loading…
Cancel
Save