private function checkConfiguration()
{
if (!file_exists($this->config->neo4j_folder)) {
throw new Neo4jException("Error in the path to the Neo4j folder ({$this->config}->neo4j_folder). Please, check config/exakat.ini\n");
}
if (!file_exists($this->scriptDir)) {
mkdir($this->scriptDir, 0755);
} elseif (!is_writable($this->scriptDir)) {
throw new Neo4jException("Can't write in '{$this->scriptDir}'. Exakat needs to write in this folder.\n");
}
$this->status = self::CHECKED;
}