I recently shifted my development enviroment from windows to ubuntu. Lets say I require a file like this in windows:
require('core/main.php');
Now I want to do that same thing but I'd have to do it like this in ubuntu:
require('/var/www/project_folder/core/main.php');
I have many projects and most of them use the windows method of fetching the file, is it possible to do the same in linux like in windows? Do I have to set some link somewhere?