Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / inc / eventz / configure_www.inc
diff --git a/inc/eventz/configure_www.inc b/inc/eventz/configure_www.inc
new file mode 100644 (file)
index 0000000..0c129ef
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+function configure_www() {
+    global $db,$error,$node;
+    $node_id=$node['node_id'];
+    $user_id=$_SESSION['user_id'];
+    if ($node['node_permission']=='owner') {
+        if(!empty($node_id)) {
+            if($node_id == $user_id) {
+                $user_www=addslashes($_POST['user_www']);
+                $q="update users set www='$user_www' where user_id='$node_id'";
+                $db->query($q);
+            }
+        }
+    }
+return true;
+}
+?>
\ No newline at end of file
This page took 0.115263 seconds and 4 git commands to generate.