blob: 252b522b511616cf3e905498e50ca4c92d2e8060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Helper Functions
*/
function featherIcon($name) {
echo file_get_contents(
$_SERVER['DOCUMENT_ROOT']
. '/..' . '/public/css/fonts/feather-icons/' . $name . '.svg'
);
}
function base64($path) {
echo base64_encode(
file_get_contents($_SERVER['DOCUMENT_ROOT']
. '/..' . $path
)
);
}
|