This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 525
/
index.php
62 lines (62 loc) · 3.06 KB
/
index.php
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
<?php
// get contents of composer.json
$composer_json = json_decode(file_get_contents("composer.json"), true);
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Welcome to CI-Bonfire</title>
<base target="_blank">
<link rel="stylesheet" type="text/css" href="public/assets/css/bootstrap.min.css" media="screen" />
<link rel="stylesheet" type="text/css" href="public/assets/css/bootstrap-responsive.min.css" media="screen" />
<style>
body {
font-family:sans-serif;
}
#intro {
width:700px;
margin-left:-390px;
position:fixed;
left:50%;
top:60px;
padding:10px 30px;
}
h1 {
text-align:center;
}
.continue {
padding:10px 0;
text-align:center;
}
</style>
</head>
<body>
<div id="intro" class="well">
<h1>Welcome to Bonfire v<?php echo $composer_json['version']; ?></h1>
<p>Some things have changed since the last version, specifically pertaining to the installer. Here is the new way <strong>Bonfire v0.7-dev</strong> handles the installation.</p>
<p>Before continuing:</p>
<ol>
<li>Create your database manually</li>
<li>Edit your <strong>application/config/database.php</strong> file accordingly</li>
</ol>
<div class="alert alert-error">
<h3>Oops!</h3>
<p>Your Web Root should be set to the <strong>public</strong> folder, but it's <strong>not</strong>. It's pointing to the <strong>Bonfire Root</strong> folder.</p>
<p>See below for an example of how your site should be set up in Apache:</p>
<pre><VirtualHost *:80>
DocumentRoot "[...]/htdocs/Bonfire_Root/public"
ServerName Bonfire.Root
ServerAlias Bonfire.Root.local
</VirtualHost></pre>
</div>
<?php
// Show only if development release.
if (strpos($composer_json['version'], '-dev') !== false) :
?>
<p><em>Please Note:</em> Since this is a developmental release there <em>will</em> be bugs. If you uncover any please <a href="https://github.com/ci-bonfire/Bonfire/wiki/Issue-Tracking-and-Pull-Requests">read this</a> before submitting your detailed bug report <a href="https://github.com/ci-bonfire/Bonfire/issues">here</a>.</p>
<?php endif; ?>
<p>If you feel like you can contribute either by <a href="https://trello.com/b/I54dfqR4/bonfire-roadmap">adding features</a> or <a href="https://github.com/ci-bonfire/Bonfire/issues?state=open">fixing issues</a> please fork <a href="https://github.com/ci-bonfire/Bonfire">the repo</a>, start your work in a new branch, and submit pull requests for review.</p>
<p><em>"Let's make this the best kick-start to any CodeIgniter project."</em> ~ The CI-Bonfire Team</p>
</div>
</body>
</html>