The config_path function returns the fully qualified path to your application's config directory. You may also use the config_path function to generate a fully qualified path to a given file within the application's configuration directory:
<?php $path = config_path();

$path = config_path('app.php');