set('zmDynLastVersion', Configure::read('ZM_DYN_LAST_VERSION')); $this->set('zmDynDBVersion', Configure::read('ZM_DYN_DB_VERSION')); } public function isUpdateAvailable() { if (Configure::read('ZM_DYN_LAST_VERSION') > Configure::read('ZM_DYN_DB_VERSION')) { echo 'true'; } else { echo 'false'; } die(); } } ?>