Comment adjustments

This commit is contained in:
Tobias Reich 2014-04-27 15:24:51 +02:00
parent 0b87e8fe93
commit d5e94627e2

View File

@ -1,7 +1,7 @@
<?php <?php
### ###
# @name API # @name API
# @author Tobias Reich # @author Tobias Reich
# @copyright 2014 by Tobias Reich # @copyright 2014 by Tobias Reich
### ###
@ -29,10 +29,10 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
if (file_exists(LYCHEE_CONFIG_FILE)) require(LYCHEE_CONFIG_FILE); if (file_exists(LYCHEE_CONFIG_FILE)) require(LYCHEE_CONFIG_FILE);
else { else {
/** ###
* Installation Access # Installation Access
* Limited access to configure Lychee. Only available when the config.php file is missing. # Limited access to configure Lychee. Only available when the config.php file is missing.
*/ ###
define('LYCHEE_ACCESS_INSTALLATION', true); define('LYCHEE_ACCESS_INSTALLATION', true);
require(__DIR__ . '/access/installation.php'); require(__DIR__ . '/access/installation.php');
@ -67,20 +67,20 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
if (isset($_SESSION['login'])&&$_SESSION['login']==true) { if (isset($_SESSION['login'])&&$_SESSION['login']==true) {
/** ###
* Admin Access # Admin Access
* Full access to Lychee. Only with correct password/session. # Full access to Lychee. Only with correct password/session.
*/ ###
define('LYCHEE_ACCESS_ADMIN', true); define('LYCHEE_ACCESS_ADMIN', true);
require(__DIR__ . '/access/admin.php'); require(__DIR__ . '/access/admin.php');
} else { } else {
/** ###
* Guest Access # Guest Access
* Access to view all public folders and photos in Lychee. # Access to view all public folders and photos in Lychee.
*/ ###
define('LYCHEE_ACCESS_GUEST', true); define('LYCHEE_ACCESS_GUEST', true);
require(__DIR__ . '/access/guest.php'); require(__DIR__ . '/access/guest.php');