! Fixed the upgrade.php failing when the Themes directory was in a directory other than $boarddir [commit 11004]

Signed-off-by: emanuele <emanuele45@gmail.com>