]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/console/class_ConsoleTools.php
Better this way
[core.git] / inc / classes / main / console / class_ConsoleTools.php
index 0dd5b93c5778533a085b3ac47a1e7926dda67b1f..4987049a5c5071119998804442c914e7d59203f0 100644 (file)
@@ -161,7 +161,7 @@ class ConsoleTools extends BaseFrameworkSystem {
 
                try {
                        // Get a file pointer
 
                try {
                        // Get a file pointer
-                       $io = FrameworkFileInputPointer::createFrameworkFileInputPointer($helperInstance->getConfigEntry('hostname_file'));
+                       $io = FrameworkFileInputPointer::createFrameworkFileInputPointer($helperInstance->getConfigInstance()->getConfigEntry('hostname_file'));
 
                        // Read the file
                        $hostname = trim($io->readFromFile());
 
                        // Read the file
                        $hostname = trim($io->readFromFile());