File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
src/Illuminate/Foundation Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -546,6 +546,19 @@ function info($message, $context = [])
546546 }
547547}
548548
549+ if (! function_exists ('lang_path ' )) {
550+ /**
551+ * Get the path to the language folder.
552+ *
553+ * @param string $path
554+ * @return string
555+ */
556+ function lang_path ($ path = '' )
557+ {
558+ return app ()->langPath ($ path );
559+ }
560+ }
561+
549562if (! function_exists ('logger ' )) {
550563 /**
551564 * Log a debug message to the logs.
@@ -563,19 +576,6 @@ function logger($message = null, array $context = [])
563576 }
564577}
565578
566- if (! function_exists ('lang_path ' )) {
567- /**
568- * Get the path to the language folder.
569- *
570- * @param string $path
571- * @return string
572- */
573- function lang_path ($ path = '' )
574- {
575- return app ()->langPath ($ path );
576- }
577- }
578-
579579if (! function_exists ('logs ' )) {
580580 /**
581581 * Get a log driver instance.
You can’t perform that action at this time.
0 commit comments