| /* This file is not trully json as it can contain comments. It will be
 * run through the json_decode() function after the comments are
 * removed so it should be valid json sans comments!
 * 
 * This is for whatisloaded.class.php. It does not instantiate a class
 * so this is almost not needed.
 */
{
  "siteDomain": "localhost", // Change these name to work with your servers
  "siteName": "simple-site-class",
  "mainTitle": "<h1>simple-site-class/includes</h1>",
  "title": "simple-site-class", // this is the <title> item
  //"desc": "", // meta description
  //"keywords": "SiteClass Examples", // meta keywords
  // we could define a doctype and a preheadcomment
  //"doctype": "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>",
  //"preheadcomment": "<!-- This is for examples -->", // This must be an HTML comment <!-- -->
  //"noTrack": true, // If true no tracking is done.
  //"nodb": true, // If true then no database actions can happen.
  //"emailDomain": "Your email domain",
  "path": "/var/www/simple-site-class/includes", // Change this to your server 
  "className": "SimpleSiteClass", // This could be a child class that extends SiteClass
  "copyright": "Barton L. Phillips",
  "author": "Barton L. Phillips, mailto:[email protected] ",
  "address": "New Bern, North Carolina",
  // "defaultCss": true // If true no default, else if null the
  // standard default blp.css, else the value of defaultCss.
  //"defaultCss": "css/style.css",
  //"favicon": "images/favicon.ico",
  // aboutwebsite, change the site and domain to something that make
  // sense to you. Right now it is blank.
  //"aboutwebsite": "", //"<h2><a target='_blank' href='aboutwebsite.php?site=Example&domain=bartonphillips.org'>About This Site</a></h2>",
  "masterdb": "barton", // This is the master database that has all the counter and trackers.
  "dbinfo": {
    "host": "localhost",
    "user": "barton", // You can change this sute yourself
    "database": "barton", // Same here.
    "engine": "mysql" // Only if using PDO
  },
  // errorMode controls how exceptions and error are displayed. See
  // ErrorClass.class.php and SqlException.class.php for more details.
  "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,     // Don't send email messages
    "noHtml": false,     // Don't display HTML, just plain text if true
    "noOutput": false    // Don't output anything if true
  },
  "headFile": "/var/www/bartonphillips.com/includes/head.i.php", // location of the head, banner, and footer files
  "bannerFile": "/var/www/bartonphillips.com/includes/banner.i.php",
  "footerFile": "/var/www/bartonphillips.com/includes/footer.i.php",
  // Count real users (not me)
  //"count": true,
  //"ctrmsg": "Counter Reset: August 1, 2022", // When the counters were reset. Pick the time you created the database
  "trackerImg1": "/images/CIRCULA.gif", // these must be either absolute values with http or https at the start
  //"trackerImg2": "/images/146624.png",  // or they MUST have a leading slash (/).
  // This group is used for the examples
  //"noGeo": true, // Don't do geo location logic. You could set the following to provide a location for geo.js
  //"geoLocation": "Your location", // you can find geo.js and
  //geoAjax.php at github.com/bartonlp/bartonphillips.net
  //"imagesLocation": "https://bartonphillips.org/vendor/bartonlp/site-class/examples",
  //"defaultImage": "./images/146624.png",
  //"trackerLocation": "../includes/tracker.php",
  //"trackerLocationJs": "../includes/tracker.js",
  //"beaconLocation": "../includes/beacon.php",
  // End of example section
  //"EMAILADDRESS": "", // Change these to your liking.
  //"EMAILRETURN": "", // but for now don't bother me.
  //"EMAILFROM": ""
  "DUMMY": ""
}
 |