Using @ for variable access to basedir

Variable access via 'basedir' is deprecated. Use '@basedir' instead