src/CarteBlanche/App/Locator.php
public static function locateConfig($filename, $fallback = true)
    {
        $etc_dir = CarteBlanche::getPath('config_dir');
        if ($fallback) {
            $f = self::locate( DirectoryHelper::slashDirname($etc_dir).$filename );
            if ($f) return $f;
        }
        $vf = self::locate( DirectoryHelper::slashDirname($etc_dir).'vendor/'.$filename );
        if ($vf) return $vf;
        return null;
    }
public static function locateConfig($filename, $fallback = true)
    {
        $etc_dir = CarteBlanche::getPath('config_dir');
        if ($fallback) {
            $f = self::locate( DirectoryHelper::slashDirname($etc_dir).$filename );
            if ($f) return $f;
        }
        $vf = self::locate( DirectoryHelper::slashDirname($etc_dir).'vendor/'.$filename );
        if ($vf) return $vf;
        return null;
    }
Locate a file in "config/" directory (vendor or not)

@param   string  $filename
@param   bool    $fallback
@return  null/string