API 관련 수정
This commit is contained in:
@@ -34,4 +34,24 @@
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// CI4의 환경 변수(env)를 체크하여 스타일 결정
|
||||
$is_local = (ENVIRONMENT === 'development');
|
||||
$status_color = $is_local ? '#ffc107' : '#007bff'; // 로컬은 노란색, 서버는 파란색
|
||||
?>
|
||||
|
||||
<div class="app-wrapper-footer" style="border-top: 5px solid <?= $status_color ?>;">
|
||||
<div class="app-footer">
|
||||
<div class="app-footer__inner">
|
||||
<div class="app-footer-left">
|
||||
<strong>Current Mode:</strong> <?= strtoupper(ENVIRONMENT) ?>
|
||||
</div>
|
||||
|
||||
<div class="app-footer-right">
|
||||
<small class="text-muted">IP: <?= $_SERVER['SERVER_ADDR'] ?></small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user