repared error with single dirname() in admin config file