summaryrefslogtreecommitdiffstats
path: root/conf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'conf.rb')
-rwxr-xr-xconf.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf.rb b/conf.rb
new file mode 100755
index 0000000..1d84cee
--- /dev/null
+++ b/conf.rb
@@ -0,0 +1,14 @@
+# encoding: utf-8
+MySQL = { "host" => "localhost",
+ "db" => "RuDynFrame",
+ "user" => "RuDynFrame",
+ "passwd" => "RuDynFrame"
+ }
+
+$RepBase = ""
+$Titre = "RuDynFrame"
+$Commentaires = true
+
+$db = DBI.connect("DBI:Mysql:" + MySQL["db"] + ":" + MySQL["host"], MySQL["user"], MySQL["passwd"])
+$db.execute("SET NAMES 'utf8'")
+$db.execute("SET lc_time_names = 'fr_FR'")