public static function getPop()
{
$msg = I18n::factory()->__('Enter the folder where the \'vendor\' folder is contained in relation to the current folder: ');
echo $msg;
$input = null;
while (!file_exists($input . '/vendor/PopPHPFramework/src/Pop/Loader/Autoloader.php')) {
if (null !== $input) {
echo I18n::factory()->__('Pop PHP Framework not found. Try again.') . PHP_EOL . $msg;
}
$prompt = fopen("php://stdin", "r");
$input = fgets($prompt, 255);
$input = rtrim($input);
fclose($prompt);
}
return $input;
}