[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [18995] Add the run location to the application when
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [18995] Add the run location to the application when registrering a new app ... |
Date: |
Wed, 19 Nov 2008 17:58:28 +0000 |
Revision: 18995
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18995
Author: Caeies
Date: 2008-11-19 17:58:28 +0000 (Wed, 19 Nov 2008)
Log Message:
-----------
Add the run location to the application when registrering a new app ... not
sure it's the real place to put it, but if you have better choice to do, please
fix them. There's no delete action in deregister_app yet ... waiting for
validation of this code before :)
Modified Paths:
--------------
core/trunk/phpgwapi/inc/class.setup.inc.php
Modified: core/trunk/phpgwapi/inc/class.setup.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.setup.inc.php 2008-11-19 17:56:03 UTC (rev
18994)
+++ core/trunk/phpgwapi/inc/class.setup.inc.php 2008-11-19 17:58:28 UTC (rev
18995)
@@ -384,7 +384,10 @@
// hack to make phpgwapi_applications::name2id to work
properly
unset($GLOBALS['phpgw_info']['apps']);
-
+ //XXX nov08 Caeies : add the run location, since if not
you are killed ...
+ //XXX nov08 Caeies : be carefull for deregister_app :(
+ //XXX nov08 Caeies : Last but not least ... is this the
place intended for this ???
+ $GLOBALS['phpgw']->locations->add('run', 'RUN '
.$appname, $appname);
return true;
}
@@ -791,4 +794,4 @@
{
return 'phpgw_hooks';
}
-}
\ No newline at end of file
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [18995] Add the run location to the application when registrering a new app ...,
Caeies <=