[dev] Becoming a Horde developer and some other stuff

Ed Martin edman007x at mac.com
Mon Jul 4 13:52:36 PDT 2005


well i'm interested in doing some developing  for Horde, is there 
anything i should know/do before i just start looking at the bugs in 
the bug tracker and trying to fix them?  right now i'm just trying to 
get it installed and running with everything it wants  using the cvs 
version of horde, i think i'm going to make sure my server has 
everything except probably postgreSQL, or should i install that too?

well anyways i'm running php 5.1.0b2 and the test  page says i should 
tell you guys about the "mystical version of PHP from the future"

also when i first tried the test.php, i got a fatal error saying that 
(paraphrasing) "you can only pass a variable by reference"  so i went 
to the file and did a quick fix for that and then made a patch for it, 
here it is if you want it (i just diid a copy and paste because i'm not 
sure if the list mailing program supports attachments)

Index: horde/config/registry.php.dist
===================================================================
RCS file: /repository/horde/config/registry.php.dist,v
retrieving revision 1.271
diff -u -r1.271 registry.php.dist
--- horde/config/registry.php.dist	28 Jun 2005 16:21:01 -0000	1.271
+++ horde/config/registry.php.dist	4 Jul 2005 20:30:11 -0000
@@ -45,7 +45,8 @@
  // variable uses forward slashes. If it does not, you'll have to tweak
  // this.
  if (isset($_SERVER['PHP_SELF'])) {
-    $webroot = strstr(dirname(__FILE__), '/' . 
array_shift(preg_split(';/;', $_SERVER['PHP_SELF'], 2, 
PREG_SPLIT_NO_EMPTY)));
+    $webroot_t = preg_split(';/;', $_SERVER['PHP_SELF'], 2, 
PREG_SPLIT_NO_EMPTY);
+    $webroot = strstr(dirname(__FILE__),'/' . array_shift($webroot_t));
      if ($webroot !== false) {
          $webroot = preg_replace(';/config$;', '', $webroot);
      } else {



More information about the dev mailing list