X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fconsole%2Fclass_ConsoleTools.php;h=0dd5b93c5778533a085b3ac47a1e7926dda67b1f;hp=960aaa42a926fcd412721eb60d6b32560f5a0046;hb=646c12d4e35593ac1d515066cda7f1833f368722;hpb=5d0e7ed76cc491e28e0429aaa53abe93357e9d78 diff --git a/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php index 960aaa42..0dd5b93c 100644 --- a/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -161,7 +161,7 @@ class ConsoleTools extends BaseFrameworkSystem { try { // Get a file pointer - $io = FrameworkFileInputPointer::createFrameworkFileInputPointer('/etc/hostname'); + $io = FrameworkFileInputPointer::createFrameworkFileInputPointer($helperInstance->getConfigEntry('hostname_file')); // Read the file $hostname = trim($io->readFromFile());