developer system settings

This commit is contained in:
following
2012-08-10 11:08:38 +02:00
parent a37bb38e68
commit f6013cbc8a
3 changed files with 3 additions and 26 deletions
+2 -2
View File
@@ -6,11 +6,11 @@
* Tables must be updated manually, see htdocs/doc/sql/db-changes.txt
*/
require('htdocs/util/mysql_root/settings.inc.php');
require('htdocs/lib/settings.inc.php');
echo "importing data.sql ...\n";
chdir ('htdocs/doc/sql');
system('cat static-data/data.sql | mysql -uroot --password=' . $db_root_password . ' opencaching');
system('cat static-data/data.sql | mysql -u' . $dbusername . ' --password=' . $dbpasswd . ' ' . $dbname);
echo "importing triggers ...\n";
chdir('stored-proc');