Location: PHPKode > projects > Exero CMS > upload/install/resource/upgradecore.php
<?
/*========================================*\
| Exero CMS                                |
|==========================================|
|          http://ecms.getox.net           |
|https://sourceforge.net/projects/exerocms/|
|==========================================|
|     Exero CMS is released under the      |
|     GNU General Public License (GPL)     |
| opensource.org/licenses/gpl-license.php  |
\*========================================*/

$db->connect($database['server'],$database['username'],$database['password']);
$db->selectdb($database['database']);
$ecms->init();

function checkver() {
global $ecms, $db,$globalconf;
	if($globalconf['appver'] == $ecms->settings['appver']) {
		return 0;
	} else {
		return 1;
	}
}
?>
Return current item: Exero CMS