-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackagexmlsetup.php
24 lines (22 loc) · 1.18 KB
/
packagexmlsetup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* Extra package.xml settings such as dependencies.
*/
/**
* for example:
$package->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->save();
*/
$package->dependencies['required']->php = '5.3.2';
$package->dependencies['required']->package['pyrus.net/Pyrus']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_Templates_Savant']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_Templates_Savant_Turbo']->save();
unset($package->files['www/config.inc.php']);
unset($package->files['www/.htaccess']);
?>