[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/horde/ -> readme_moodle.txt (source)

   1  Description of import of Horde libraries
   2  
   3  # Download the Horde git repository. You will probably want to keep this
   4    around for future updates:
   5      git clone git@github.com:horde/horde.git
   6  # Checkout the version of horde you require:
   7      git checkout horde-5.2.7
   8  # Copy the following script and store it on /tmp, change it's execute bit, and run it, passing
   9    in your path to Horde (the directory you've cloned the repository):
  10      /tmp/copyhorde.sh ~/git/ext/horde/
  11  # MDL-52361 patched for PHP7 compatibility, after upgrade make sure it's updated upstream and remove this line
  12  
  13  ====
  14  #!/bin/sh
  15  
  16  source=$1/framework
  17  target=./lib/horde
  18  
  19  echo "Copy Horde modules from $source to $target"
  20  
  21  modules="Crypt_Blowfish Exception Imap_Client Mail Mime Secret Socket_Client Stream Stream_Filter Stream_Wrapper Support Text_Flowed Translation Util"
  22  
  23  rm -rf $target/locale $target/framework
  24  mkdir -p $target/locale $target/framework/Horde
  25  
  26  for module in $modules
  27  do
  28    echo "Copying $module"
  29    cp -Rf $source/$module/lib/Horde/* $target/framework/Horde
  30    locale=$source/$module/locale
  31    if [ -d $locale ]
  32    then
  33      cp -Rf $locale/* $target/locale
  34    fi
  35  done


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1