Add minimal sample configuration, so that lazy people won't copy libraries/config.default.php (RFE #1544570).

This commit is contained in:
Michal Čihař
2006-08-28 08:13:53 +00:00
parent 8d4e9b099b
commit 18ee404e74

View File

@@ -186,14 +186,16 @@
those who prefer a graphical installation. Creating a config.inc.php is those who prefer a graphical installation. Creating a config.inc.php is
still a quick way to get started and needed for some advanced features. still a quick way to get started and needed for some advanced features.
<ul><li>To manually create the file, simply use your text editor to <ul><li>To manually create the file, simply use your text editor to
create the file <tt>config.inc.php</tt> in the main (top-level) create the file <tt>config.inc.php</tt> (you can copy
phpMyAdmin directory (the one that contains <tt>index.php</tt>). <tt>config.sample.inc.php</tt> to get minimal configuration
phpMyAdmin first loads <tt>libraries/config.default.php</tt> file) in the main (top-level) phpMyAdmin directory (the one
and then overrides those values with anything found in that contains <tt>index.php</tt>). phpMyAdmin first loads
<tt>config.inc.php</tt>. If the default value is okay for a particular <tt>libraries/config.default.php</tt> and then overrides those
setting, there is no need to include it in <tt>config.inc.php</tt>. values with anything found in <tt>config.inc.php</tt>. If the
You'll need a few directives to get going, a simple configuration default value is okay for a particular setting, there is no
may look like this: need to include it in <tt>config.inc.php</tt>. You'll need a
few directives to get going, a simple configuration may look
like this:
<pre> <pre>
&lt;?php &lt;?php
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice $cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice