diff options
| author | horus | 2021-03-15 18:16:14 +0100 |
|---|---|---|
| committer | horus | 2021-03-15 18:16:14 +0100 |
| commit | d2dc7ccfa1c3f296e6ca5e5ef9459ab154670b70 (patch) | |
| tree | 2e2d08dba1d3a02fb80cbcb556a03195d8e9a103 /functions.php | |
| parent | e1554c725e22909a5fb239f481e76e30abc306f9 (diff) | |
| download | moehring-d2dc7ccfa1c3f296e6ca5e5ef9459ab154670b70.tar.gz | |
Add untrack
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..a0ec825 --- /dev/null +++ b/functions.php @@ -0,0 +1,12 @@ +<?php + +require __DIR__ . '/views/tools/untrack/resolve.php'; + +function get_faces(){ + return json_decode( file_get_contents( __DIR__ . '/views/tools/faces/faces.json' ), true ); +} + +function str_starts_with( $haystack, $needle ) { + $length = strlen( $needle ); + return substr( $haystack, 0, $length ) === $needle; +} |
