|
|
@ -78,9 +78,9 @@ class bootstrap
|
|
|
|
system(sprintf('cat %s %s | mysql -h %s -u %s --password=%s %s',
|
|
|
|
system(sprintf('cat %s %s | mysql -h %s -u %s --password=%s %s',
|
|
|
|
realpath(INSTALL_PATH . '/SQL/mysql.initial.sql'),
|
|
|
|
realpath(INSTALL_PATH . '/SQL/mysql.initial.sql'),
|
|
|
|
realpath(TESTS_DIR . 'Selenium/data/mysql.sql'),
|
|
|
|
realpath(TESTS_DIR . 'Selenium/data/mysql.sql'),
|
|
|
|
escapeshellarg($dsn['host']),
|
|
|
|
escapeshellarg($dsn['hostspec']),
|
|
|
|
escapeshellarg($dsn['user']),
|
|
|
|
escapeshellarg($dsn['username']),
|
|
|
|
escapeshellarg($dsn['pass']),
|
|
|
|
escapeshellarg($dsn['password']),
|
|
|
|
escapeshellarg($dsn['database'])
|
|
|
|
escapeshellarg($dsn['database'])
|
|
|
|
));
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|