[commits] [Wiki] changed: CreatingYourFirstModule

Wiki Guest wikiguest at horde.org
Tue Apr 12 14:23:18 UTC 2011


guest [77.78.2.119]  Tue, 12 Apr 2011 14:23:17 +0000

Modified page: http://wiki.horde.org/CreatingYourFirstModule
New Revision:  2.0
Change log:  fixing some PHP errors and a typo

@@ -11,9 +11,9 @@
   cd horde
   cp -R skeleton/ /your/install/path/to/horde/
  </code>

-2. Create the following script as prjrename.php - save it somewhere  
sensible, like your home directory:
+2. Create the following script as projectrename.php - save it  
somewhere sensible, like your home directory:

  <code type="php">
  #!/usr/bin/php -q
  <?
@@ -68,10 +68,10 @@
  if (count($_SERVER['argv'])==3)
  {
    // Preparation
    $list = array();
-  $path = trim($_SERVER[argv][1]);
-  $modul = trim($_SERVER[argv][2]);
+  $path = trim($_SERVER['argv'][1]);
+  $modul = trim($_SERVER['argv'][2]);

    // Fetch Filelist
    $list = analysedir( $path, $list );




More information about the commits mailing list