PHP Classes

File: vendor/beyondcode/laravel-dump-server/helpers.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   vendor/beyondcode/laravel-dump-server/helpers.php   Download  
File: vendor/beyondcode/laravel-dump-server/helpers.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change: Update of vendor/beyondcode/laravel-dump-server/helpers.php
Date: 4 years ago
Size: 371 bytes
 

Contents

Class file image Download
<?php

if (! function_exists('config_path')) {
   
/**
     * Get the configuration path.
     *
     * This is a polyfill for the missing shorthand function in lumen.
     *
     * @param string $path
     * @return string
     */
   
function config_path($path = '')
    {
        return
app()->basePath('config').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
}