summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-rwxr-xr-x[-rw-r--r--]www/functions/func_content.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_failure.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_interface.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_invite.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_login.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_register.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_rewrite.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_select.php2
-rwxr-xr-x[-rw-r--r--]www/functions/func_user.php2
9 files changed, 9 insertions, 9 deletions
diff --git a/www/functions/func_content.php b/www/functions/func_content.php
index 2536dcc..7e2281b 100644..100755
--- a/www/functions/func_content.php
+++ b/www/functions/func_content.php
@@ -1,4 +1,4 @@
-<?
+<?php
function get_content($db, $parentdir, $owner){
diff --git a/www/functions/func_failure.php b/www/functions/func_failure.php
index f7eb43f..19a8279 100644..100755
--- a/www/functions/func_failure.php
+++ b/www/functions/func_failure.php
@@ -1,4 +1,4 @@
-<?
+<?php
/* --PAGE NOT FOUND - 404 -- */
function get_404($working_path, $wrong_folder){
diff --git a/www/functions/func_interface.php b/www/functions/func_interface.php
index b543054..e0bc0e9 100644..100755
--- a/www/functions/func_interface.php
+++ b/www/functions/func_interface.php
@@ -1,4 +1,4 @@
-<?
+<?php
function show($db){
$owner = user($db, $_GET["name"]);
diff --git a/www/functions/func_invite.php b/www/functions/func_invite.php
index cc1118b..8741bf7 100644..100755
--- a/www/functions/func_invite.php
+++ b/www/functions/func_invite.php
@@ -1,4 +1,4 @@
-<?
+<?php
function invite($db){
if($_SERVER['REQUEST_METHOD'] == 'POST') {
diff --git a/www/functions/func_login.php b/www/functions/func_login.php
index 1b9188e..1cdd39d 100644..100755
--- a/www/functions/func_login.php
+++ b/www/functions/func_login.php
@@ -1,4 +1,4 @@
-<?
+<?php
function login($db){
if($_SERVER['REQUEST_METHOD'] == 'POST') {
diff --git a/www/functions/func_register.php b/www/functions/func_register.php
index 1d12e2b..690e5d6 100644..100755
--- a/www/functions/func_register.php
+++ b/www/functions/func_register.php
@@ -1,4 +1,4 @@
-<?
+<?php
function register($db){
if($_SERVER['REQUEST_METHOD'] == 'POST') {
diff --git a/www/functions/func_rewrite.php b/www/functions/func_rewrite.php
index ecc6db8..f915318 100644..100755
--- a/www/functions/func_rewrite.php
+++ b/www/functions/func_rewrite.php
@@ -1,4 +1,4 @@
-<?
+<?php
function rewrite($db){
/* test if first argument a username or folder */
diff --git a/www/functions/func_select.php b/www/functions/func_select.php
index 46afd46..204f2d7 100644..100755
--- a/www/functions/func_select.php
+++ b/www/functions/func_select.php
@@ -1,4 +1,4 @@
-<?
+<?php
function select($db, $owner){
if($_SESSION["login"] && $_SESSION["userid"] == $owner){ // TODO: Check if loged in user really the user who does the query - fix 12.3.14
diff --git a/www/functions/func_user.php b/www/functions/func_user.php
index 59e6dda..193d0e0 100644..100755
--- a/www/functions/func_user.php
+++ b/www/functions/func_user.php
@@ -1,4 +1,4 @@
-<?
+<?php
function account($db){
echo "loged in as: " . $_SESSION["username"];
$safe_name=SQLite3::escapeString("$_SESSION[username]");