add rootdir in variables as warty.php is in src folder

* bugfix