提交 a61c1825 编写于 作者: J Jeremy Kemper

The app generator detects the XAMPP package's MySQL socket location. Closes #3832.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 491b4a3c
*SVN*
* The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
* The app generator sets a session key in application.rb so apps running on the same host may distinguish their cookies. #2967 [rcoder, rails-bug@owl.me.uk]
* Distinguish the spawners for different processes [DHH]
......
......@@ -154,6 +154,7 @@ def mysql_socket_location
"/opt/local/lib/mysql/mysql.sock", # fedora
"/opt/local/var/run/mysqld/mysqld.sock", # mac + darwinports + mysql
"/opt/local/var/run/mysql4/mysqld.sock", # mac + darwinports + mysql4
"/opt/local/var/run/mysql5/mysqld.sock" # mac + darwinports + mysql5
"/opt/local/var/run/mysql5/mysqld.sock", # mac + darwinports + mysql5
"/opt/lampp/var/mysql/mysql.sock" # xampp for linux
]
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册