# R27100 - /trunk/setup/setup-cli.php

**URL:** <http://discourse.egroupware.org/t/r27100-trunk-setup-setup-cli-php/32261>\
**Category:** eGW-svn\
**Created:** [May 23, 2009, 10:25am UTC](http://discourse.egroupware.org/t/r27100-trunk-setup-setup-cli-php/32261 "2009-05-23T10:25:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ralf\_Becker\_6](http://discourse.egroupware.org/user_avatar/discourse.egroupware.org/ralf_becker_6/32/1306_2.png) [@Ralf\_Becker\_6](http://discourse.egroupware.org/u/Ralf_Becker_6)\
**Post date:** [May 23, 2009, 10:25am UTC](http://discourse.egroupware.org/t/r27100-trunk-setup-setup-cli-php/32261/1 "2009-05-23T10:25:45Z")

</div>

Author: ralfbecker  
New Revision: 27100

URL: [http://www.egroupware.org/viewvc/egroupware?rev=27100&view=rev](http://www.egroupware.org/viewvc/egroupware?rev=27100&view=rev)  
Log:  
“small changes to get setup-cli working with current EGroupware”

Modified:  
trunk/setup/setup-cli.php

# Modified: trunk/setup/setup-cli.php URL: [http://www.egroupware.org/viewvc/egroupware/trunk/setup/setup-cli.php?rev=27100&r1=27099&r2=27100&view=diff](http://www.egroupware.org/viewvc/egroupware/trunk/setup/setup-cli.php?rev=27100&r1=27099&r2=27100&view=diff)

— trunk/setup/setup-cli.php (original)  
+++ trunk/setup/setup-cli.php Sat May 23 12:25:45 2009  
@@ -37,9 +37,10 @@  
ini\_set(‘session.save\_path’,’/tmp’); // regular users may have no rights to apache’s session dir  
}  
// setting up the $GLOBALS[‘egw\_setup’] object AND including the header.inc.php if it exists  
+$\_POST[‘FormDomain’] = $arguments[0];  
$GLOBALS[‘egw\_info’] = array(  
‘flags’ =\> array(

- 

```
  'currentapp' => 'home',

```

- 

```
  'currentapp' => 'setup',
  'noapi' => true,
  'no_exception_handler' => 'cli',

```

));

* * *

Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT  
is a gathering of tech-side developers & brand creativity professionals. Meet  
the minds behind Google Creative Lab, Visual Complexity, Processing, &  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian  
Group, R/GA, & Big Spaceship. [http://www.creativitycat.com](http://www.creativitycat.com)

* * *

eGroupWare-cvs mailing list  
[eGroupWare-cvs@lists.sourceforge.net](mailto:eGroupWare-cvs@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/egroupware-cvs](https://lists.sourceforge.net/lists/listinfo/egroupware-cvs)
