public static function checkPathFromConfig($path, $configPath, $configOption = "") {
		
		if (!isset($path)) {
			Console::writeError("please make sure ".$configOption." is set in <path>".Console::getHumanReadablePath($configPath)."</path> by adding '".$configOption."=some/path'. sorry, stopping pattern lab... :(");
		} else if (!is_dir($path)) {
			Console::writeWarning("i can't seem to find the directory <path>".Console::getHumanReadablePath($path)."</path>...");
			self::makeDir($path);
			Console::writeWarning("i created <path>".Console::getHumanReadablePath($path)."</path> just in case. you can edit this in <path>".Console::getHumanReadablePath($configPath)."</path> by editing ".$configOption."...");
		}
		
	}
public static function checkPathFromConfig($path, $configPath, $configOption = "") {
		
		if (!isset($path)) {
			Console::writeError("please make sure ".$configOption." is set in <path>".Console::getHumanReadablePath($configPath)."</path> by adding '".$configOption."=some/path'. sorry, stopping pattern lab... :(");
		} else if (!is_dir($path)) {
			Console::writeWarning("i can't seem to find the directory <path>".Console::getHumanReadablePath($path)."</path>...");
			self::makeDir($path);
			Console::writeWarning("i created <path>".Console::getHumanReadablePath($path)."</path> just in case. you can edit this in <path>".Console::getHumanReadablePath($configPath)."</path> by editing ".$configOption."...");
		}
		
	}
public static function checkPathFromConfig ( $ path , $ configPath , $ configOption = "" ) { if ( ! isset ( $ path ) ) { Console :: writeError ( "please make sure " . $ configOption . " is set in <path>" . Console :: getHumanReadablePath ( $ configPath ) . "</path> by adding '" . $ configOption . "=some/path'. sorry, stopping pattern lab... :(" ) ; } else if ( ! is_dir ( $ path ) ) { Console :: writeWarning ( "i can't seem to find the directory <path>" . Console :: getHumanReadablePath ( $ path ) . "</path>..." ) ; self :: makeDir ( $ path ) ; Console :: writeWarning ( "i created <path>" . Console :: getHumanReadablePath ( $ path ) . "</path> just in case. you can edit this in <path>" . Console :: getHumanReadablePath ( $ configPath ) . "</path> by editing " . $ configOption . "..." ) ; } }
Check that a dir from the config exists and try to build it if needed
@param  {String}       directory to be checked/built
@param  {String}       the config path
@param  {String}       the config option that would help them
Check that a dir from the config exists and try to build it if needed