setEnvironmentVariable('SS_DATABASE_CLASS', getenv('PDO') ? 'PostgrePDODatabase' : 'PostgreSQLDatabase'); $loader->setEnvironmentVariable('SS_DATABASE_USERNAME', 'postgres'); $loader->setEnvironmentVariable('SS_DATABASE_PASSWORD', ''); break; case "SQLITE": $loader->setEnvironmentVariable('SS_DATABASE_CLASS', getenv('PDO') ? 'SQLite3PDODatabase' : 'SQLite3Database'); $loader->setEnvironmentVariable('SS_DATABASE_USERNAME', 'root'); $loader->setEnvironmentVariable('SS_DATABASE_PASSWORD', ''); $loader->setEnvironmentVariable('SS_SQLITE_DATABASE_PATH', ':memory:'); break; default: $loader->setEnvironmentVariable('SS_DATABASE_CLASS', getenv('PDO') ? 'MySQLPDODatabase' : 'MySQLDatabase'); $loader->setEnvironmentVariable('SS_DATABASE_USERNAME', 'root'); $loader->setEnvironmentVariable('SS_DATABASE_PASSWORD', ''); } $loader->setEnvironmentVariable('SS_DATABASE_SERVER', '127.0.0.1'); $loader->setEnvironmentVariable('SS_DATABASE_CHOOSE_NAME', true); }