Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / inc / davical_configuration_missing.php
bloba72c8e3961ff15f07956a21838f110a24d8617bc
1 <?php
2 include("page-header.php");
4 echo <<<EOBODY
5 <h1>DAViCal Not Configured</h1>
6 <h2>The Bad News</h2>
7 <p>There is no configuration file present in <b>/etc/davical/config.php</b> (or in <b>$_SERVER[SERVER_NAME]-conf.php</b>) so
8 your installation is not fully set up.</p>
9 <h2>The Good News</h2>
10 <p>Well, you're seeing this! At least you have DAViCal <i>installed</i> :-) You also have Apache and PHP working
11 and so really you are well on the road to success!</p>
12 <h2>The Dubious News</h2>
13 <p>You could try and <a href="http://$_SERVER[SERVER_NAME]/setup/start_here.php">click here</a> and
14 see if that enlightens you at all. Odds are it's a fairly broken link, but it might work sooner
15 or later so keep downloading new versions and trying again. Or make some guesses. Or bug Andrew :-)</p>
16 <h2>The Really Basic Help</h2>
17 <p>The configuration file should look something like this:</p>
18 <pre>
19 &lt;?php
20 // \$c->domain_name = 'davical.example.com';
21 // \$c->sysabbr = 'davical';
22 // \$c->system_name = 'DAViCal CalDAV Server';
24 \$c->admin_email = 'admin@example.com';
25 \$c->pg_connect[] = 'dbname=davical user=davical_app';
27 </pre>
28 <p>The only really <em>essential</em> thing there is that connect string for the database, although
29 configuring someone for the admin e-mail is a really good idea.</p>
30 EOBODY;
32 include("page-footer.php");