title: Setting baseurl in cakephp
body: <p>I am working on an application which is running in CakePHP and I am using AJAX queries from within.</p>
  
  <p>In all the cases for all the ajax post i have used the url as </p>
  
  <pre><code>var ht = $.ajax({
                       type: "GET",
                       url: "http://172.20.52.99/FormBuilder/index.php/forms/viewChoices/"+attribute_id,
                       async: false
                  }).responseText;
  var myObject = eval('(' + ht + ')');
  </code></pre>
  
  <p>Is there any way in CakePHP where I can give my base URL as <code>http://172.20.52.99/FormBuilder/index.php/</code> and to call the base URL in all the places I want.</p>