Settings

cookie.name

The name of the cookie as it is stored on the user’s machine.
Date Type: String
Default: ipinga
Example


cookie.expiration_time

The number of seconds before the cookie expires on the user’s machine
Date Type: Integer
Default: 2592000 (30 days from now)
Example


encryption.algorithm

The encryption algorithm used by the \ipinga\crypto class as well as for encrypting cookies. It is beyond the scope of this documentation to explain the mcrypt extension for PHP. I suggest you visit http://php.net/manual/en/book.mcrypt.php for more information about encryption and the mcrypt extension.
Date Type: Integer
Default: MCRYPT_RIJNDAEL_128
Example


encryption.iv

The IV used by the \ipinga\crypto class as well as for encrypting cookies. It is beyond the scope of this documentation to explain the mcrypt extension for PHP. I suggest you visit http://php.net/manual/en/book.mcrypt.php for more information about encryption and the mcrypt extension.
Date Type: String
Default: md5(‘iPinga’)
Example


encryption.key

The encryption key used by the \ipinga\crypto class as well as for encrypting cookies. It is beyond the scope of this documentation to explain the mcrypt extension for PHP. I suggest you visit http://php.net/manual/en/book.mcrypt.php for more information about encryption and the mcrypt extension.
Date Type: string
Default: ‘you should change this’
Example


encryption.mode

The MODE used by the \ipinga\crypto class as well as for encrypting cookies. It is beyond the scope of this documentation to explain the mcrypt extension for PHP. I suggest you visit http://php.net/manual/en/book.mcrypt.php for more information about encryption and the mcrypt extension.
Date Type: Integer
Default: MCRYPT_MODE_CBC
Example


logfile

Specifies where the filename for the system logfile. I suggest you name it with a file extension of .php to prevent the webserver from serving it to a curious user.
Date Type: String
Default: \logfile.php
Example


manager.expired_url

The relative or absolute URL to redirect the user to if his session has expired due to inactivity.
Date Type: String
Default: /index/expired
Example


manager.ip_changed_url

The relative or absolute URL to redirect the user to if his IP ADDRESS has changed since his last interaction with the site
Date Type: String
Default: /index/ip_changed
Example


manager.login_url

The relative or absolute URL to redirect the user to if he is not successfully logged into your application
Date Type: String
Default: /index/login
Example


manager.max_minutes

The number of minutes before a user has timed out and must login again
Date Type: Integer
Default: 10
Example


mysql.database

Name of the MySQL database you want to connect to
Date Type: String
Default: ‘your_db_name’
Example


mysql.host

Name of the MySQL host you want to connect to
Date Type: String
Default: ‘localhost’
Example


mysql.password

Your MySQL password
Date Type: String
Default: ‘your_db_password’
Example


mysql.user

Your MySQL user name
Date Type: String
Default: ‘your_db_user’
Example


path.classes

The absolute path to the filesystem directory that contains all your classes source files. Typically this is a folder immediately below where your public_html folder.
Date Type: String
Default: the return value from a call to the PHP function getcwd() concatenated with ‘/classes’
Example


path.controllers

The absolute path to the filesystem directory that contains all your controller source files. Typically this is a folder immediately below where your public_html folder.
Date Type: String
Default: the return value from a call to the PHP function getcwd() concatenated with ‘/controllers’
Example


path.cwd

The absolute path to the filesystem directory that contains your index.php file. This path is used internally to build paths to other files in your application and defaults to the return value of the getcwd() function. Presumably this would be the path to your public_html folder. Notice: no trailing slash is permitted.
Date Type: String
Default: the return value from a call to the PHP function getcwd()
Example


path.framework

The absolute path to the filesystem directory that contains the iPinga library code. If you are using composer, this is typically in a folder called vendors/vernsix/ipinga/src beneath your public_html folder.
Date Type: String
Example


path.middleware

The absolute path to the filesystem directory that contains all your middleware source files. Typically this is a folder immediately below where your public_html folder.
Date Type: String
Default: the return value from a call to the PHP function getcwd() concatenated with ‘/middleware’
Example


path.models

The absolute path to the filesystem directory that contains all your model source files. Typically this is a folder immediately below where your public_html folder.
Date Type: String
Default: the return value from a call to the PHP function getcwd() concatenated with ‘/models’
Example


path.views

The absolute path to the filesystem directory that contains all your view source files. Typically this is a folder immediately below where your public_html folder.
Date Type: String
Default: the return value from a call to the PHP function getcwd() concatenated with ‘/views’
Example


time.timezone

The timezone where your server will be running. For a complete list of acceptable timezones, please visit http://php.net/manual/en/timezones.php
Date Type: String
Default: ‘America/Chicago
Example