You've already forked OpenShorte.old
deleted config.json - no more need of it, added installer to create config.json
This commit is contained in:
@@ -3,6 +3,5 @@
|
||||
function load_config ( ) : array {
|
||||
$config = file_get_contents ( 'config.json' );
|
||||
$config = json_decode ( $config, true );
|
||||
$config [ 'installation_path' ] = substr ( $_SERVER [ 'SCRIPT_NAME' ], 0, -10 );
|
||||
return $config;
|
||||
}
|
||||
|
Reference in New Issue
Block a user