<?php // $Id: installedVersion.inc.php 12761 2010-12-20 15:02:19Z stephane-klein $

if ( count( get_included_files() ) == 1 ) die( '---' );

/**
 * CLAROLINE
 *
 * Set value to detect if script set version is same than upgrade state
 *
 * @var $version_file_cvs contain the version of script set
 *                        (kernel sctructure, document structure, config value, ...)
 * @var $version_db_cvs   contain the version of script set
 *                        (different from _file_ because some time there is nothing to change in db)
 *
 * @version 1.9 $Revision: 12761 $
 *
 * @copyright (c) 2001-2009 Universite catholique de Louvain (UCL)
 *
 * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
 *
 * @package UPGRADE
 *
 * @author Claro Team <cvs@claroline.net>
 *
 */
if ((bool) stristr($_SERVER['PHP_SELF'], basename(__FILE__))) die('---');

$stable = true;
$is_upgrade_available = true;

// var version_db  max. 10 chars

$new_version = '1.9.7';
$new_version_branch = '1.9';

if (!$is_upgrade_available)
{
    $new_version = $new_version . '.[unstable:' . date('yzBs') . ']';
}

$requiredPhpVersion = '5.1.6';
$requiredMySqlVersion = '4.3';

?>