Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added link to new file
  • Loading branch information
freehostsorg committed Oct 12, 2015
1 parent 5a215a9 commit fccab90
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 3 deletions.
75 changes: 75 additions & 0 deletions setup/file_system.php
@@ -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 &raquo;</button></a>

<?php else: ?>

<a href="file_system.php"><button>Try again &raquo;</button></a>

<?php endif; ?>

<?php require_once('page_footer.php'); ?>
8 changes: 6 additions & 2 deletions setup/index.php
Expand Up @@ -27,9 +27,13 @@

<h2>About</h2>

<p>Xerte Online Toolkits is a suite of web based tools designed and developed by a wonderful community of <a href="http://www.xerte.org.uk" target="_blank">open source developers.</a></p>
<p>Xerte Online Toolkits is a suite of web based tools which have been designed, and continue to be developed, by a wonderful community of <a href="http://www.xerte.org.uk" target="_blank">open source developers.</a> The suite enables users to log on and create interactive learning materials simply and effectively using a web browser.</p>

<p>Xerte Online Toolkits is a powerful suite of browser-based tools that allow anyone with a web browser to log on and create interactive learning materials simply and effectively, and to collaborate with other users in developing content. Xerte Online Toolkits provides a number of project templates for creating online presentations and interactive content. Content is assembled using an intuitive interface, and multiple users can collaborate on shared projects. Xerte Toolkits is free software, released under the Apache License v2.0.</p>
<p>A number of project templates are provided for creating online presentations and interactive content which can be assembled using an intuitive interface. The suite also enables multiple users to collaborate on shared projects.</p>

<h3>License</h3>

<p>Xerte Online Toolkits is free software, released under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank" title="Apache License v2.0">Apache License v2.0</a>.</p>

<h2>Notes</h2>

Expand Down
2 changes: 1 addition & 1 deletion setup/requirements.php
Expand Up @@ -76,7 +76,7 @@

<p>Your system meets the minimum requirements.</p>

<a href="file_system_test.php"><button>Next &raquo;</button></a>
<a href="file_system.php"><button>Next &raquo;</button></a>

<?php endif; ?>

Expand Down

0 comments on commit fccab90

Please sign in to comment.