"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "install/setup-config.php" between
opendocman-1.3.7.tar.gz and opendocman-1.3.8-release.tar.gz

About: OpenDocman is a document management system (DMS) designed to comply with ISO 17025 and OIE standard for document management (using PHP, MySQL).

setup-config.php  (opendocman-1.3.7):setup-config.php  (opendocman-1.3.8-release)
skipping to change at line 133 skipping to change at line 133
<p>If for any reason this automatic file creation doesn't work, don't worry. All this does is fill in the database information to a configuration file. You may also simply open <code>config-sample.php</code> in a text editor, fill in your i nformation, and save it as <code>config.php</code> and import the <code>database .sql</code> file into your database.</p> <p>If for any reason this automatic file creation doesn't work, don't worry. All this does is fill in the database information to a configuration file. You may also simply open <code>config-sample.php</code> in a text editor, fill in your i nformation, and save it as <code>config.php</code> and import the <code>database .sql</code> file into your database.</p>
<p class="step"><a href="setup-config.php?step=1" class="button">Let&#8217;s go! </a></p> <p class="step"><a href="setup-config.php?step=1" class="button">Let&#8217;s go! </a></p>
<?php <?php
break; break;
case 1: case 1:
display_header(); display_header();
$pieces = split('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_URI' ])); $pieces = preg_split('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_ URI']));
array_pop($pieces); array_pop($pieces);
$computed_base_url = implode('/',$pieces); $computed_base_url = implode('/',$pieces);
unset($pieces); unset($pieces);
?> ?>
<form method="post" id="configform" action="setup-config.php?step=2"> <form method="post" id="configform" action="setup-config.php?step=2">
<p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p> <p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p>
<table class="form-table"> <table class="form-table">
<tr> <tr>
<th scope="row"><label for="dbname">Database Name</label> </th> <th scope="row"><label for="dbname">Database Name</label> </th>
<td><input name="dbname" id="dbname" type="text" size="25 " value="opendocman" class="required" minlength="2" /></td> <td><input name="dbname" id="dbname" type="text" size="25 " value="opendocman" class="required" minlength="2" /></td>
skipping to change at line 158 skipping to change at line 158
<td><input name="uname" id="uname" type="text" size="25" value="username" class="required" minlength="2"/></td> <td><input name="uname" id="uname" type="text" size="25" value="username" class="required" minlength="2"/></td>
<td>Your MySQL username</td> <td>Your MySQL username</td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="pwd">Password</label></th> <th scope="row"><label for="pwd">Password</label></th>
<td><input name="pwd" id="pwd" type="password" size="25" value="password" /></td> <td><input name="pwd" id="pwd" type="password" size="25" value="password" /></td>
<td>...and MySQL password.</td> <td>...and MySQL password.</td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="dbhost">Database Host</label> </th> <th scope="row"><label for="dbhost">Database Host</label> </th>
<td><input name="dbhost" id="dbhost" type="text" size="25 " value="localhost" class="required" minlength="2"/></td> <td><input name="dbhost" id="dbhost" type="text" size="25 " value="<?php echo ($_ENV['DB_HOST'] ? $_ENV['DB_HOST'] : 'localhost') ?>" clas s="required" minlength="2"/></td>
<td>You should be able to get this info from your web hos t, if <code>localhost</code> does not work. <td>You should be able to get this info from your web hos t, if <code>localhost</code> does not work.
It can also include a port number. e.g. "hostname;po rt=3306" or a path to a local socket e.g. ":/path/to/socket" for the localhost. It can also include a port number. e.g. "hostname;po rt=3306" or a path to a local socket e.g. ":/path/to/socket" for the localhost.
</td> </td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="prefix">Table Prefix</label>< /th> <th scope="row"><label for="prefix">Table Prefix</label>< /th>
<td><input name="prefix" id="prefix" type="text" value="o dm_" size="8" class="required" minlength="2"/></td> <td><input name="prefix" id="prefix" type="text" value="o dm_" size="8" class="required" minlength="2"/></td>
<td>If you want to run multiple OpenDocMan installations in a single database, change this.</td> <td>If you want to run multiple OpenDocMan installations in a single database, change this.</td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="adminpass">Administrator Pass word</label></th> <th scope="row"><label for="adminpass">Administrator Pass word</label></th>
<td><input name="adminpass" id="adminpass" type="password " value="" size="8" class="required" minlength="5"/></td> <td><input name="adminpass" id="adminpass" type="password " value="" size="8" class="required" minlength="5"/></td>
<td>Enter an administrator password here. Write it down! (only used for new installs)</td> <td>Enter an administrator password here. Write it down! (only used for new installs)</td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="prefix">Data Directory</label ></th> <th scope="row"><label for="prefix">Data Directory</label ></th>
<td colspan="2"><input name="datadir" id="datadir" type=" text" value="<?php echo dirname($_SERVER['DOCUMENT_ROOT']);?>/odm_data/" size="4 5" class="required" minlength="2"/> <td colspan="2"><input name="datadir" id="datadir" type=" text" value="<?php echo ($_ENV['ODM_DATA_DIR'] ? $_ENV['ODM_DATA_DIR'] : dirname ($_SERVER['DOCUMENT_ROOT']) . '/odm_data/');?>" size="45" class="required" minle ngth="2"/>
<br/>Enter in a web-writable folder that you have cr eated on your server to store the data files. We have tried to guess for one.<br /> <br/>Enter in a web-writable folder that you have cr eated on your server to store the data files. We have tried to guess for one.<br />
<ul> <ul>
<li><em>Windows Example:</em> c:/document_reposi tory/</li> <li><em>Windows Example:</em> c:/document_reposi tory/</li>
<li><em>Linux Example:</em> /var/www/document_re pository/</li> <li><em>Linux Example:</em> /var/www/document_re pository/</li>
</ul> </ul>
</td> </td>
</tr> </tr>
</table> </table>
<p class="step"><input name="submit" type="submit" value="Submit" class=" button" /></p> <p class="step"><input name="submit" type="submit" value="Submit" class=" button" /></p>
</form> </form>
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)