provision.file.inc 481 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php
/**
 * @file Filesystem access module.
 *
 * Handle writing and syncing configuation files across multiple servers.
 * Provides an interface to common path handling operations, through the path
 * helper method, which will take care of verification and any error logging
 * required.
 */
10
include_once('provision.inc');
11

12 13
function provision_file() {
  static $instance = null;
14

15
  if (is_null($instance)) {
16
    $instance = new Provision_FileSystem();
17 18 19
  }

  return $instance;
20
}