This repository was archived by the owner on Sep 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
55 lines (44 loc) · 1.85 KB
/
init.php
File metadata and controls
55 lines (44 loc) · 1.85 KB
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
<?php
/**
* @author Charles R. Portwood II <charlesportwoodii@ethreal.net>
* @package CiiMS https://www.github.com/charlesportwoodii/CiiMS
* @license MIT License
* @copyright 2011-2014 Charles R. Portwood II
*
* @notice This file is part of CiiMS, and likely will not function without the necessary CiiMS classes
*/
?>
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<link href="//cdnjs.cloudflare.com/ajax/libs/pure/0.3.0/pure-min.css" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Oswald:400,700" rel="stylesheet" type="text/css">
<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>
<title>CiiMS Installer</title>
</head>
<body>
<main>
<h3><span class="highlight">CiiMS Installer</span> | Missing Dependencies!</h3>
<hr />
<p>CiiMS is unable to bootstrap itself due to missing dependencies. Please verify that your webserver has access to the following directories.</p>
<pre>
chmod -R 777 <?php echo str_replace('/modules/install', '', dirname(__FILE__) . '/runtime/'); ?>
chmod -R 777 <?php echo str_replace('/modules/install', '', dirname(__FILE__) . '/config/'); ?>
chmod -R 777 <?php echo str_replace('/protected/modules', '', dirname(__FILE__) . '/assets/'); ?>
chmod -R 777 <?php echo str_replace('/protected/modules', '', dirname(__FILE__) . '/vendor/'); ?>
</pre>
<hr />
<p>If the directories above are writable, verify that you have installed the composer dependencies.</p>
<pre>
curl -sS https://getcomposer.org/installer | php
php composer.phar selfupdate
php composer.phar install
</pre>
</main>
</body>
<style>
<?php include __DIR__ . '/assets/dist/install.min.css'; ?>
</style>
</html>