I am about to use an old software I wrote when I had very little knowledge about PHP and now I have a lot of:
require("/path/file.php");
that do not work anymore because $_SERVER['DOCUMENT_ROOT'] has changed from "/" to "/htdocs/web/". Is there anything I can do instead of changing every line of code? I don't have access to httpd.conf but I can create .htaccess file and edit php.ini. Any help is appreciated.