diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /buildscripts/phing/tasks/QuickstartIndexTask.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'buildscripts/phing/tasks/QuickstartIndexTask.php')
-rw-r--r-- | buildscripts/phing/tasks/QuickstartIndexTask.php | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/buildscripts/phing/tasks/QuickstartIndexTask.php b/buildscripts/phing/tasks/QuickstartIndexTask.php index 64a48d4a..5179d8ad 100644 --- a/buildscripts/phing/tasks/QuickstartIndexTask.php +++ b/buildscripts/phing/tasks/QuickstartIndexTask.php @@ -1,32 +1,32 @@ -<?php
-
-require_once 'phing/Task.php';
-
-/**
- * Task to index quickstart
- */
-class QuickstartIndexTask extends Task
-{
- private $todir;
-
- public function setTodir($value)
- {
- $this->todir=$value;
- }
-
- public function main()
- {
- $srcdir=realpath(dirname(__FILE__).'/../../../');
- $zend_path = $srcdir.'/demos/quickstart/protected/index';
- set_include_path(get_include_path().PATH_SEPARATOR.realpath($zend_path));
- require_once ('Zend/Search/Lucene.php');
-
- require_once($srcdir.'/buildscripts/index/quickstart_index.php');
- $quickstart_source = $srcdir.'/buildscripts/texbuilder/quickstart/pages.php';
- $quickstart_base = $srcdir.'/demos/quickstart/protected/pages/';
- $quickstart = new quickstart_index($this->todir, realpath($quickstart_base), realpath($quickstart_source));
- $quickstart->create_index();
- }
-}
-
+<?php + +require_once 'phing/Task.php'; + +/** + * Task to index quickstart + */ +class QuickstartIndexTask extends Task +{ + private $todir; + + public function setTodir($value) + { + $this->todir=$value; + } + + public function main() + { + $srcdir=realpath(dirname(__FILE__).'/../../../'); + $zend_path = $srcdir.'/demos/quickstart/protected/index'; + set_include_path(get_include_path().PATH_SEPARATOR.realpath($zend_path)); + require_once ('Zend/Search/Lucene.php'); + + require_once($srcdir.'/buildscripts/index/quickstart_index.php'); + $quickstart_source = $srcdir.'/buildscripts/texbuilder/quickstart/pages.php'; + $quickstart_base = $srcdir.'/demos/quickstart/protected/pages/'; + $quickstart = new quickstart_index($this->todir, realpath($quickstart_base), realpath($quickstart_source)); + $quickstart->create_index(); + } +} + ?>
\ No newline at end of file |