The source project of this merge request has been removed.
fix base path
I have added a $site_config_path variable that automatically changes the data on the server, look at that code below bro.
$__site_config_path = dirname(is_link($_SERVER['DOCUMENT_ROOT']) ? readlink($_SERVER['DOCUMENT_ROOT']) : $_SERVER['DOCUMENT_ROOT']).'/photogramconfig.json';
$__site_config = file_get_contents($__site_config_path);