Dynamic testing of dirname() to test the config.core.php files