The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rename users folder
#6
I think it would be pretty painful to rename that folder. Overall, we've worked really hard to give people a clean place to build their project and get as much of the "userspice" out of the way, but that one's pretty difficult.

It's either going to require a big find/replace every time you do an upgrade
OR
There might be a way to redirect people using a .htaccess file.

What about just moving login, join, account.php and profile.php to a different folder? That's what your end users see. It's clunky, but the cleanest thing to do would be to create those filenames in usersc and do

Code:
<?php require_once '../users/init.php';
Code:
Redirect::to("https://mydomain.com/login.php"); ?>
  Reply


Messages In This Thread
Rename users folder - by shoropio - 09-05-2017, 10:36 PM
Rename users folder - by Brandin - 09-05-2017, 10:47 PM
Rename users folder - by shoropio - 09-06-2017, 12:34 AM
Rename users folder - by karsen - 09-06-2017, 03:11 AM
Rename users folder - by mudmin - 09-06-2017, 02:00 PM
Rename users folder - by mudmin - 09-06-2017, 02:05 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)