File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
include_once ("controller/account.php " );
4
4
include_once ("controller/apps.php " );
5
5
include_once ("controller/session_ctrl.php " );
6
- include_once ("controller/sms_service.php " );
7
6
8
7
if (!isset ($ _GET ["id " ]) || empty ($ _GET ["id " ]) || !Apps::validateId ($ _GET ["id " ])) {
9
8
header ("Location: ? " );
118
117
Authentication
119
118
</a>
120
119
121
- <?php if (isSMSServiceEnabled ()) { ?>
120
+ <?php if (Config:: isSMSServiceEnabled ()) { ?>
122
121
<a href="<?php echo "?page=app&id= " .$ appId ."§ion=sms " ; ?> " class="btn btn-primary">
123
122
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.0" stroke="currentColor" width="14" height="14" class="board-icons">
124
123
<path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" />
181
180
</svg>
182
181
</a>
183
182
184
- <?php if (isSMSServiceEnabled ()) { ?>
183
+ <?php if (Config:: isSMSServiceEnabled ()) { ?>
185
184
<a href="<?php echo "?page=app&id= " .$ appId ."§ion=sms " ; ?> " class="btn btn-primary">
186
185
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.0" stroke="currentColor" width="14" height="14" class="board-icons">
187
186
<path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" />
You can’t perform that action at this time.
0 commit comments