Posted - 06/02/2020 : 22:01:18
Hi, Is it possible to keep vsadmin one level up, I do not want anyone to access the vsadmin via FTP. Following is what I wanted to do in my root:
root/ vsadmin website/index.php website/categories.php etc...
in the above scenario, I can give FTP access only to website folder to developer/customer I am using the following code in my index.php
<?php session_cache_limiter('none'); session_start(); ob_start(); include "../vsadmin/db_conn_open.php"; include "../vsadmin/inc/languagefile.php"; include "../vsadmin/includes.php"; include "../vsadmin/inc/incfunctions.php"; include "../vsadmin/inc/metainfo.php";?>
All pages are working fine when put back vsadmin in the website folder. Any idea or workaround is appreciated.
Thanks
|