02-23-2018, 01:48 AM
Some of the php files have: <?php require_once '../users/init.php'; ?>
Others have: <?php require_once 'init.php'; ?>
And from what i have read it should be :
require_once $abs_us_root.$us_url_root.'users/init.php';
Am i correct on that? Reason for question is i am playing with the admin_users.php and am trying to put a copy in the usersc folder. Then i get a HTTP 500 error. I added permissions for them and even tried public same issue. So i figure it has to be the includes. i see there is not a consistencey in how it is written so that is why i ask what is best practice?
Thanks,
RJ
Others have: <?php require_once 'init.php'; ?>
And from what i have read it should be :
require_once $abs_us_root.$us_url_root.'users/init.php';
Am i correct on that? Reason for question is i am playing with the admin_users.php and am trying to put a copy in the usersc folder. Then i get a HTTP 500 error. I added permissions for them and even tried public same issue. So i figure it has to be the includes. i see there is not a consistencey in how it is written so that is why i ask what is best practice?
Thanks,
RJ