File/devutils/lib/install.php

Description

Contains Installation helper library functions.

This is a library of useful routines primarly used by the Configure.php configuration system.

  • see: Configure.php
  • author: Yermo Lamers
  • copyright: DTLink, LLC 2004
Functions
process_template (line 75)

Process a template file.

Expands variables in a ".in" file. Variables are enclosed in [@@ .. @@] tags.

void process_template (mixed $inpath, mixed $outpath, mixed $export)
rcopy (line 129)

recursive copy - copy that handles directories.

copies files or directories

  • todo: does not copy "*.in" or ".svn" files. Need to have some kind of exclusion list.
void rcopy (mixed $source, mixed $dest)
rdelete (line 240)

recursive delete - recursively deletes a directory

recursively deletes files and directories. Will not recurse into a directory UNLESS it has an .fvapp_dir file in it. This will prevent the nightmare scenario of accidently deleting everything .... application writers will have to add .fvapp_dir files in each directoy that is to be copied into DOCUMENT_ROOT.

void rdelete (mixed $pathname)

Documentation generated on Sat, 31 Dec 2005 14:56:54 -0500 by phpDocumentor 1.3.0RC3