Skip to content

fix base path

GopiKrishnan requested to merge (removed):gopis into master

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);

Merge request reports