forena-8.x-1.x-dev/data/drupal/settings.php
data/drupal/settings.php
<?php /* * Sample Repository configuration file */ /* * Security provider: Specify the class name that is used to provide security */ $conf['access callback'] = 'forena_user_access_check'; /* * Current user: * Specificy the php function that will be used to determine the current user. * Forena provides the following helper functions to for the common drupal defaults * forena_current_user_uid * forena_current_user_name */ $conf['user callback'] = 'forena_current_user_id'; /* * Diver: * Specify the class name that will be used to interpret data block files. * Note that data blocks in a repository * The following commented lines are used as an example. */ //$conf['driver'] = 'FrxPDO'; //$conf['driver'] = 'FrxPDO'; $conf['driver'] = 'Drupal'; /* * URI: * The format of the uri depends on the type of data engine that's being used. * In database engines it might be the connection string to the db. In the file * engine it would be the path to the directory containting the files */ // Not applicable to drupal installs //$conf['uri'] = 'mysql:host=dbhost;dbname=databasename'; //$conf['user'] = 'webdbuser'; //$conf['password'] = 'somesecurepassword';