PHP Classes

File: app/Support/helpers.php

Recommend this page to a friend!
  Classes of Eray Akartuna   Lumen Starter Pack   app/Support/helpers.php   Download  
File: app/Support/helpers.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Lumen Starter Pack
Implement a OAuth 2 based REST API server
Author: By
Last change:
Date: 7 years ago
Size: 284 bytes
 

Contents

Class file image Download
<?php

if ( ! function_exists('config_path'))
{
   
/**
     * Get the configuration path.
     *
     * @param string $path
     * @return string
     */
   
function config_path($path = '')
    {
        return
app()->basePath() . '/config' . ($path ? '/' . $path : $path);
    }
}