Added additional check for e107 since new versions use e107_admin
instead of admin.