[geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.12, 1.13

Dirk Haun dhaun at qs1489.pair.com
Sun Jan 6 03:55:59 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv43036/system/classes

Modified Files:
	config.class.php 
Log Message:
Removed 'ostype' from config GUI - you shouldn't be able to change it anyway.


Index: config.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** config.class.php	5 Jan 2008 23:41:13 -0000	1.12
--- config.class.php	6 Jan 2008 08:55:57 -0000	1.13
***************
*** 9,13 ****
  // | Controls the UI and database for configuration settings                   |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2007 by the following authors:                              |
  // |                                                                           |
  // | Authors: Aaron Blankstein  - kantai AT gmail DOT com                      |
--- 9,13 ----
  // | Controls the UI and database for configuration settings                   |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2007-2008 by the following authors:                         |
  // |                                                                           |
  // | Authors: Aaron Blankstein  - kantai AT gmail DOT com                      |
***************
*** 84,90 ****
      {
          global $_DB, $_TABLES, $_CONF;
!         include($this->dbconfig_file);
          $this->config_array['Core'] =& $_CONF;
!         include_once($_CONF['path_system'] . 'lib-database.php' );
      }
  
--- 84,95 ----
      {
          global $_DB, $_TABLES, $_CONF;
! 
!         include $this->dbconfig_file;
          $this->config_array['Core'] =& $_CONF;
! 
!         include_once $_CONF['path_system'] . 'lib-database.php';
! 
!         // for backward compatibility
!         $_CONF['ostype'] = PHP_OS;
      }
  




More information about the geeklog-cvs mailing list