The source project of this merge request has been removed.
fix site config 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 = is_link($_SERVER["DOCUMENT_ROOT"]) ? dirname(readlink($_SERVER['DOCUMENT_ROOT'])) . '/photogramconfig.json' : $_SERVER["DOCUMENT_ROOT"] . "/../photogramconfig.json";
$__site_config = file_get_contents($site_config_path);