added the eclipse proejct file
authorPaul J R <me@pjr.cc>
Tue, 18 Sep 2012 19:44:26 +0000 (05:44 +1000)
committerPaul J R <me@pjr.cc>
Tue, 18 Sep 2012 19:44:26 +0000 (05:44 +1000)
.project [new file with mode: 0644]
gwvpmini/gwvpmini_gitrepo.php

diff --git a/.project b/.project
new file mode 100644 (file)
index 0000000..258eb59
--- /dev/null
+++ b/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>gwvp-mini</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+       </buildSpec>
+       <natures>
+       </natures>
+</projectDescription>
index 6f9264b..1b1466a 100644 (file)
@@ -164,7 +164,7 @@ function gwvpmini_RepoCreate()
                        gwvpmini_SendMessage("error", "Repo ".$_REQUEST["reponame"]." already exists");\r
                        header("Location: $BASE_URL/repos");
                } else {
-                       gwvpmini_createGitRepo($_REQUEST["reponame"], $_SESSION["id"], $_REQUEST["repodesc"]);
+                       gwvpmini_createGitRepo($_REQUEST["reponame"], $_SESSION["id"], $_REQUEST["repodesc"], $_REQUEST["perms"]);
                        gwvpmini_SendMessage("info", "Repo ".$_REQUEST["reponame"]." has been created");
                        header("Location: $BASE_URL/repos");
                }