Skip to content

Commit c0a1699

Browse files
author
janatzend
committed
README update
1 parent 69b9341 commit c0a1699

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ to be installed on the server in order to use this feature.
7575
DB credentials can be taken automatically from Zend Server user
7676
constants if set in the following format: DB_USERNAME, DB_PASSWORD, DB_DATABASE, DB_HOSTNAME
7777

78-
### Vhost
79-
Custom Vhost files can be set in a deployment package. These custom
80-
vhost files overwrite the default Zend Server vhost files. Vhost files
81-
can only be written in pre_activate.php.
82-
Template Vhost file available in the package is necessary.
83-
8478
## Installation
8579
Directory Zx and deph.php have to placed in the same directory as the
8680
hook script, so of course they have to be included in the deployment
@@ -238,17 +232,3 @@ $db = $deph->getDb();
238232
$db->importCl('tpl/mydatabase.sql', array('#value1#', '#value2#'), array('abc', 'xyz'));
239233
```
240234
Please note that MySQL client has to be installed.
241-
242-
### Vhost
243-
```
244-
<?php
245-
// init ...
246-
$vhost = $deph->get('Vhost');
247-
// or for Sytax Highlighting
248-
$vhost = $deph->getVhost();
249-
$vhost->write('tpl/nginx_vhost.tpl', array('replaceMe'), array('withMe));
250-
```
251-
252-
Please note that this is only available in pre_activate.php.
253-
Additionally $deph has to be initialized in post_activate.php in order
254-
to clean up.

0 commit comments

Comments
 (0)