
Update Torann/GeoIP package from 0.2 to 1.0.0 which is being used to show country code in phone nuber in various forms.
22 lines
479 B
PHP
22 lines
479 B
PHP
<?php
|
|
|
|
if (!function_exists('storage_path')) {
|
|
function storage_path($path = '')
|
|
{
|
|
return __DIR__ . DIRECTORY_SEPARATOR . 'tmp' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
|
|
}
|
|
}
|
|
|
|
if (!function_exists('env')) {
|
|
function env($key, $default = null)
|
|
{
|
|
return $key;
|
|
}
|
|
}
|
|
|
|
if (! function_exists('app')) {
|
|
function app($key = null, $default = null)
|
|
{
|
|
return \Torann\GeoIP\Tests\TestCase::$functions->app($key, $default);
|
|
}
|
|
} |