|
Revision 123, 1.3 kB
(checked in by mrook, 2 years ago)
|
Set svn:keywords property on all files
|
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
ini_set('track_errors', 1); |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
if (getenv('PHP_CLASSPATH')) { |
|---|
| 17 |
define('PHP_CLASSPATH', getenv('PHP_CLASSPATH') . PATH_SEPARATOR . get_include_path()); |
|---|
| 18 |
ini_set('include_path', PHP_CLASSPATH); |
|---|
| 19 |
} else { |
|---|
| 20 |
define('PHP_CLASSPATH', get_include_path()); |
|---|
| 21 |
} |
|---|
| 22 |
|
|---|
| 23 |
require_once 'phing/Phing.php'; |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
Phing::startup(); |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
Phing::setProperty('phing.home', getenv('PHING_HOME')); |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
$args = isset($argv) ? $argv : $_SERVER['argv']; |
|---|
| 38 |
array_shift($args); |
|---|
| 39 |
|
|---|
| 40 |
/* fire main application */ |
|---|
| 41 |
Phing::fire($args); |
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
Phing::halt(0); |
|---|
| 48 |
|
|---|
| 49 |
?> |
|---|