[ Index ] |
|
Code source de phpMyVisites 2.3 |
1 <?php 2 /* 3 * phpMyVisites : website statistics and audience measurements 4 * Copyright (C) 2002 - 2006 5 * http://www.phpmyvisites.net/ 6 * phpMyVisites is free software (license GNU/GPL) 7 * Authors : phpMyVisites team 8 */ 9 10 // $Id: AdminUpdate.class.php 162 2006-11-11 16:16:47Z cmil $ 11 12 13 14 require_once INCLUDE_PATH."/core/include/AdminModule.class.php"; 15 16 class AdminUpdate extends AdminModule 17 { 18 var $viewTemplate = "admin/update.tpl"; 19 20 function AdminUpdate() 21 { 22 parent::AdminModule(); 23 } 24 25 26 function process() 27 { 28 $infos = getSystemInformation( $this->tpl ); 29 $db =& Db::getInstance(); 30 $oldVersion = $db->getVersion(); 31 $db->updateTables (PHPMV_VERSION); 32 33 $this->tpl->assign("a_versions",array("<b>".$oldVersion."</b>", "<b>".PHPMV_VERSION."</b>")); 34 $this->tpl->clear_all_cache(); 35 } 36 } 37 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |