최초 커밋
This commit is contained in:
commit
c8f5efb6b7
14652 files changed
+4812531
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if (!function_exists('eng_img_url')) {
|
||||
function eng_img_url($path = '')
|
||||
{
|
||||
$baseUrl = '/eng/img';
|
||||
$cdnBaseUrl = '';
|
||||
|
||||
if ($cdnBaseUrl !== '') {
|
||||
$baseUrl = rtrim($cdnBaseUrl, '/');
|
||||
}
|
||||
|
||||
$path = ltrim((string) $path, '/');
|
||||
|
||||
return $path === '' ? $baseUrl : $baseUrl . '/' . $path;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user