| // Example json file. NOTE this is not true json because I allow
// comments. They are removed by the siteload.php file and then the
// results are passed to json_decode(). If the json is not valid json
// an error occurs.
{
  "siteDomain": "localhost",
  "siteName": "Examples",
  "mainTitle": "Examples",
  "path": "/var/www/simple-site-class/examples", // This needs to be changes to your directory.
  "className": "SimpleSiteClass",
  "copyright": "Barton L. Phillips",
  "author": "Barton L. Phillips, mailto:[email protected] ",
  "address": "New Bern, North Carolina",
  "noTrack": false, // set this to true to keep the class from logging visitor activity in the logagent table.   
  "masterdb": "barton",
  "dbinfo": {
    "host": "localhost", //"bartonphillips.com",
    "user": "barton",
    "database": "barton",
    "engine": "mysqli"
  },
  "errorMode": {
    "development": true, // development automatically sets email to true.
                         // If development is true then noEmail will be
                         // set to true unless noEmail is set to false!
                         // Only false not null or just missing.
    "noEmail": null, 
    "noHtml": false,
    "noOutput": false
  },
  "headFile": "includes/head.i.php",
  "bannerFile": "includes/banner.i.php",
  "footerFile": "includes/footer.i.php",
  "EMAILADDRESS": "[email protected] ",
  "EMAILRETURN": "[email protected] ",
  "EMAILFROM": "[email protected] "
}
 |