I have the following doubt, I have the variable:
$upload_dir = pathinfo($_SERVER['SCRIPT_FILENAME'],PATHINFO_DIRNAME).DIRECTORY_SEPARATOR.'data';
which I would like to change the route, but I can't, it doesn't recognize the change.