git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
bc0271b
Branches
Tags
master
ticket
webinterface.git
modules
webapps
include
install-owncloud.php
Neue Webapp: OwnCloud
bernd
commited
bc0271b
at 2012-01-03 08:03:23
install-owncloud.php
Blame
History
Raw
<?php require_once('inc/debug.php'); require_once('webapp-installer.php'); function validate_data($post) { DEBUG('Validating Data:'); DEBUG($post); $fields = array('adminpass'); foreach ($fields AS $field) if ((! isset($post[$field])) || $post[$field] == '') system_failure('Nicht alle Werte angegeben ('.$field.')'); $adminpass = sha1($post['adminpass']); $data = "adminpass={$adminpass}"; DEBUG($data); return $data; }