summaryrefslogtreecommitdiff
path: root/functions.php
blob: a0ec825133c628ab62ed1c14bb7c3fb1fc443cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}