Skip to content

Commit

Permalink
Fix regression with server config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebduggan committed Feb 6, 2024
1 parent be484eb commit 123c848
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions commands/preside/start.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ component {
}

private string function _getCfConfigFilePath() {
var serverConfig = getServerConfig( arguments.directory, arguments.serverConfigFile );
var possibleKeys = [ "file", "server", "web" ];
var relFilePath = "";
var serverConfPath = arguments.directory & arguments.serverConfigFile;
var serverConfig = getServerConfig( arguments.directory, arguments.serverConfigFile );
var possibleKeys = [ "file", "server", "web" ];
var relFilePath = "";

for( var key in possibleKeys ) {
if ( Len( serverConfig.cfconfig[ key ] ?: "" ) ) {
Expand Down

0 comments on commit 123c848

Please sign in to comment.