title: Google App Engine Failed opening SMARTY php scripts
body: <blockquote>
    <p>I am using Google App Engine (GAE) for web development and also Smarty
    html template engine. </p>
    
    <p>This is the code segment that I use in my include.php. after I deploy
    it is showing me no out put and show me these logs.</p>
  </blockquote>
  
  <pre><code>&lt;?php
  include_once(dirname(dirname(__FILE__)) . '/includes/configs/config.inc.php');
  
  if (!isset($_SESSION))
      session_start();
  
  $_SESSION['timestamp'] = time();
  
  if (isset($_SESSION['auth']) &amp;&amp; $_SESSION['auth'] === true)
      $authStatus = true;
  
  include_once(INCLUDE_DIR . '/library/util.php');
  include_once(INCLUDE_DIR . '/library/connection.php');
  include_once(CLASSES_DIR . 'db.class.php');
  include_once(INCLUDE_DIR . '/langs/en.lang.php');
  include_once(INCLUDE_DIR . '/helpers/browserDetect.class.php');
  </code></pre>
  
  <blockquote>
    <p>This would be my log out put</p>
  </blockquote>
  
  <p>PHP Warning: include_once(): open_basedir restriction in effect. File(/base/data/home/apps/s~<strong>/includes/configs/config.inc.php) is not within the allowed path(s): (/base/data/home/apps/s~</strong>/1.380323599570411257/;/base/data/home/runtimes/php/sdk;/php_runtime/versions;/etc) in /base/data/home/apps/s~**/1.380323599570411257/includes.php on line 2</p>
  
  <p>PHP Warning: include_once(/base/data/home/apps/s~<strong>/includes/configs/config.inc.php): failed to open stream: Operation not permitted in /base/data/home/apps/s~</strong>/1.380323599570411257/includes.php on line 2</p>
  
  <blockquote>
    <p>This would be my app.yaml</p>
  </blockquote>
  
  <pre><code>application: ***
  version: 1
  runtime: php
  api_version: 1
  
  handlers:
  - url: /css
    static_dir: css
  
  - url: /images
    static_dir: images
  
  - url: /js
    static_dir: js
  
  - url: /
    script: index.php
  
  - url: /(.+)$
    script: index.php
  </code></pre>