Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
check_autoloader.php
Go to the documentation of this file.
1 #!/usr/bin/env php
2 <?php
3 /*
4  * @author Anakeen
5  * @package FDL
6 */
7 
8 require_once 'WHAT/classAutoloader.php';
9 require_once 'WHAT/classAutoloaderIgnoreDotD.php';
10 include_once 'WHAT/Lib.Prefix.php';
11 
12 try {
13  \Dcp\DirectoriesAutoloader::instance(DEFAULT_PUBDIR, '.autoloader.cache')->addDirectory('./')->addCustomFilter('\Dcp\autoloaderIgnoreDotD')->dryRun()->forceRegenerate('');
14 }
15 catch(\Exception $e) {
16  printf("Autoloader error: %s\n", $e->getMessage());
17  exit(1);
18 }
19 
20 exit(0);
static instance($pTmpPath, $pTmpFileName= 'directoriesautoloader.cache.php')
const DEFAULT_PUBDIR
Definition: Lib.Prefix.php:28
switch($command) exit
Definition: checkVault.php:46
← centre documentaire © anakeen