Exemplo n.º 1
0
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 */
// We need this stuff
define('NO_SESSION', 1);
define('OUTDATED_DATABASE_OK', 1);
require_once 'lib/init.php';
// Get the version and format it
$version = Update::get_version();
if ($_REQUEST['action'] == 'update') {
    /* Run the Update Mojo Here */
    Update::run_update();
    /* Get the New Version */
    $version = Update::get_version();
}
$htmllang = str_replace("_", "-", AmpConfig::get('lang'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
echo $htmllang;
?>
" lang="<?php 
echo $htmllang;
?>
">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php