|
From: mdw c. <myd...@li...> - 2001-12-11 12:17:20
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
templates.inc.php
Log Message:
The fact that ACTIVE_MODULES was defined here, in templates.inc.php was causing mydynaweb to bomb out when the user did not use ccs or hello modules.
It was making "cannot instanciate non existant class"
Now it should be good (it works for me when no modules are initialized)
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- templates.inc.php 2001/12/09 23:23:36 1.31
+++ templates.inc.php 2001/12/11 12:17:19 1.32
@@ -92,8 +92,6 @@
function get_token_from_module($token)
{
- $ACTIVE_MODULES["ccs"]=new ccs_module();
- $ACTIVE_MODULES["hello"]=new hello_module();
list($module_name,$token) = split("_",$token);
$token_array=array($token);
|