blob: 0206eacf63f719882e9070ae4a3884c855158d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<?php
/*
Copyright (c) 2001 - 2006 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*!
@header Show Install Config File
*/
?>
<html>
<head>
<title>Ampache :: For The Love Of Music - Install</title>
</head>
<body>
<?php require_once(conf('prefix') . "/templates/style.inc"); ?>
<div class="text-box">
<span class="header1"><?php echo _("Ampache Installation"); ?></span>
<p>
<?php echo _("This Page handles the installation of the Ampache database and the creation of the ampache.cfg.php file. Before you continue please make sure that you have the following pre-requisites"); ?>
</br />
<ul>
<li><?php echo _("A MySQL Server with a username and password that can create/modify databases"); ?></li>
<li><?php echo _("Your webserver has read access to the /sql/ampache.sql file and the /config/ampache.cfg.dist.php file"); ?></li>
</ul>
<?php echo _("Once you have ensured that you have the above requirements please fill out the information below. You will only be asked for the required config values. If you would like to make changes to your ampache install at a later date simply edit /config/ampache.cfg.php"); ?>
</p>
</div>
<div class="text-box">
<?php echo _("Step 1 - Creating and Inserting the Ampache Database"); ?><br />
<?php echo _("Step 2 - Creating the ampache.cfg.php file"); ?><br />
<b><?php echo _("Step 3 - Setup Initial Account"); ?></b><br />
<dl>
<dd><?php echo _("This step creates your initial Ampache admin account. Once your admin account has been created you will be directed to the login page"); ?></dd>
</dl>
<br /><br />
<span class="header2"><?php echo _('Create Admin Account'); ?></span>
<?php echo $GLOBALS['error']->print_error('general'); ?>
<form method="post" action="<?php echo $GLOBALS['php_self'] . "?action=create_account"; ?>" enctype="multipart/form-data" >
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td><?php echo _("Username"); ?></td>
<td><input type="textbox" name="local_username" value="admin" /></td>
</tr>
<tr>
<td><?php echo _("Password"); ?></td>
<td><input type="password" name="local_pass" value="" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="<?php echo _("Create Account"); ?>" /></td>
</tr>
</table>
</form>
</div>
</body>
</html>
|