Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added link to new file
- Loading branch information
1 parent
5a215a9
commit fccab90
Showing
3 changed files
with
82 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?php | ||
/** | ||
* Licensed to The Apereo Foundation under one or more contributor license | ||
* agreements. See the NOTICE file distributed with this work for | ||
* additional information regarding copyright ownership. | ||
* | ||
* The Apereo Foundation licenses this file to you under the Apache License, | ||
* Version 2.0 (the "License"); you may not use this file except in | ||
* compliance with the License. You may obtain a copy of the License at: | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
require_once("../functions.php"); | ||
require_once('page_header.php'); | ||
|
||
$xot_setup->check['file_system'] = SetupRequirements::folders(dirname(__FILE__) ); | ||
$ok = false; ?> | ||
|
||
<h2>File System Checks</h2> | ||
|
||
<p>If you are installing for testing in a local development environment such as Xampp you can ignore the results of these checks.</p> | ||
|
||
<ol> | ||
|
||
<?php foreach ( $xot_setup->check['file_system']->folders as $k => $v ): ?> | ||
|
||
<li> | ||
<?php echo $k; ?> folder: <code><?php echo $v; ?></code> must be writable | ||
|
||
<?php if ($k == "Root" || $k == "Setup"): ?>during setup <?php endif; ?>- | ||
|
||
<?php $xot_setup->check['file_system'] = SetupRequirements::fileSystem( $v ); ?> | ||
|
||
<div class="<?php echo $xot_setup->check['file_system']->css; ?>"> | ||
<?php echo $xot_setup->check['file_system']->message; ?> | ||
</div> | ||
|
||
<?php if ($xot_setup->check['file_system']->passed): $ok = true; endif; ?> | ||
</li> | ||
|
||
<?php endforeach; ?> | ||
|
||
</ol> | ||
|
||
<h2>Notes</h2> | ||
|
||
<ul> | ||
<li>The folders listed above must be writable during setup to complete installation.</li> | ||
|
||
<li>Once the installer has finished, you can set the folder permissions to suit your own preferences. | ||
<ul> | ||
<li><strong>Please note</strong>: the web server will still need write / read and delete access to the 'USER-FILES', 'error_logs' and 'import' folders after installation.</li> | ||
</ul> | ||
</li> | ||
<li>If problems have occurred then please refer to the install guide or the resources available on the <a href="http://www.xerte.org.uk" target="_blank">Xerte Community Website</a>.</li> | ||
</ul> | ||
|
||
<?php if ( $ok ): ?> | ||
|
||
<a href="php_modules.php"><button>Next »</button></a> | ||
|
||
<?php else: ?> | ||
|
||
<a href="file_system.php"><button>Try again »</button></a> | ||
|
||
<?php endif; ?> | ||
|
||
<?php require_once('page_footer.php'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters