Changeset 10780 for freepbx/branches
- Timestamp:
- 12/30/10 15:45:08 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/bootstrap/amp_conf/htdocs/admin/views/freepbx.php
r10648 r10780 46 46 } 47 47 48 $base = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");49 $base .= "://".$_SERVER['HTTP_HOST'];50 $base .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);51 $base = trim($base, '/') . '/';52 48 53 49 ?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … … 59 55 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 60 56 <meta http-equiv="X-UA-Compatible" content="chrome=1" /> 61 <base href="<?php echo $base; ?>" />62 57 <link href="common/mainstyle.css" rel="stylesheet" type="text/css" /> 63 58 <?php if (isset($use_nav_background) && $use_nav_background) { ?>
