dongshi2836 2015-04-22 23:15
浏览 48
已采纳

从子域链接到根域Laravel 4.2

I have 1 subdomain in my app: admin.test.com and then the root is test.com. While in admin.test.com I want to send an email to a user to log in to test.com/login/aseqgaasd but right now it is sending the link to admin.test.com/login/aseqgaasd.

How can I use the {{ URL::to('login', array($code)) }} method to route to the main domain and not the sub domain?

I do not want to use .htaccess

  • 写回答

1条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 dataframe 某列数据分列
      • ¥15 风扇导入fluent后仿真压力和速度数据卡在旋转域
      • ¥15 echarts中dataZoom报错
      • ¥15 求解答:《前端综合基础》作为一门课程的话,应该包含哪些内容?
      • ¥15 软件原型系统开发+实例测试
      • ¥50 C#上位机调试Win USB
      • ¥15 java基础望榜榜 java基础望榜榜
      • ¥15 comsol 周期性端口
      • ¥15 unity导出微信小游戏的测试中双击未响应
      • ¥15 SPI驱动LORA接收端RF_BUSY