Skip to content

Commit

Permalink
-v2.4-HRStreamer to v0.8. HRAI to v5.6. Many fixes
Browse files Browse the repository at this point in the history
-v2.4.
-Add user fonts and default fonts to the settings page and config file, respectively.
-Users can now select their default fonts to use within the HRC2 GUI and Apps.
-The client browser must support the selected font and the app developer must choose to utilize them.
-Re-factor the way commonCore handles and looks for unassigned values. 
-Improve reliability/security. Reduce errors.
-Error check the HTML of main pages and iframe pages.
-Add $CLPerms and $ILPerms settings in the settings page and the config file.
-Admins can now set the permission levels to use for specific directories that HRC2 manages.
-Add $ApacheUser and $ApacheGrouo settings to the settings page and config file.
-Admins can now set the user and group for Apache to use when modifying files.
-Fix inconsistencies with relative/absolute paths throughought some of the more obscure GUI elemnts.
-Improve cross-platform liklihood of sucess and altername install directory support.
-Renamed some variables to avoid polluting existing variables and to improve consistency ($HRAIAudio to $defaultHRAIAudio in config.php).

-HRStreamer to v0.8.
-Integrate default and user selected fonts.
-Improve cross platform and alternate install directory support.

-HRAI to v5.6.
-Integrate default and user selected fonts.
  • Loading branch information
zelon88 authored Mar 5, 2018
1 parent 92d29a5 commit 4b5551c
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// SERIOUS FILESYSTEM DAMAGE COULD RESULT FROM INCORRECT DATABASE OR DIRECTORY INFO !!!
// / ------------------------------


// / ------------------------------
// / License Information ...
// / To continue, please accept the included GPLv3 license by changing the following
Expand All @@ -18,22 +19,24 @@
// / ------------------------------

// / ------------------------------
// / General Information ...
// / General Information ...
// / This timezone will be the default one used if a user has not specified there own.
$defaultTimezone = 'America/New_York';
// / This Nickname will be the default one used if a user has not specified there own.
$defaultNickname = 'Commander';
// / The font type to use for displaying text within GUI elements.
$defaultFont = 'Helvetica';
// / Leave '1' for default and to allow individual users to modify their own color-schemes.
$ColorScheme = '1';
$defaultColorScheme = '1';
// / To show HRAI in your Cloud homepage, set $ShowHRAI to '1'. To hide HRAI in your Cloud
// / Default is '1'.
$ShowHRAI = '1';
$defaultShowHRAI = '1';
// / To have HRAI read most outputs out loud using client speakers and audio device, set to '1'.
// / Default is '1'.
$HRAIAudio = '1';
$defaultHRAIAudio = '1';
// / To hide tooltips at the top of each page, set $ShowTips to '0'.
// / Default is '1'.
$ShowTips = '1';
$defaultShowTips = '1';
// / ------------------------------

// / ------------------------------
Expand All @@ -45,22 +48,21 @@
// / Change these to something completely random and keep it a secret. Store your $Salts
// / in hardcopy form or an encrypted drive in case of emergency.
// / IF YOU LOSE YOUR SALTS YOU WILL BE UNABLE TO DECODE USER ID'S AFTER AN EMEREGENCY.
// / Unique Salts.
$Salts = 'somethingSoRanDoMThatNobod65y_Will_evar+guess+it';
// / Externally or internally accesible domain or IP.
$URL = 'https://www.YOUR_URL_HERE.net';
// / Scan for viruses during directory scan. Use '1' for default.
// / (ClamAV MUST be installed on the localhost!!!).
// / (ClamAV MUST be installed on the localhost!!!).
$VirusScan = '0';
// / Use multi-threaded virus scanning. Virus scanning is extremely resource intensive.
// / If you are running an older machine (Rpi, CoreDuo, or any single-core CPU) leave
// / this setting disabled '0'.
$HighPerformanceAV = '0';
$HighPerformanceAV = '1';
// / Thorough A/V scanning requires stricter permissions, and may require additional
// / ClamAV user, usergroup, and permissions configuration.
// / Disable '0' if you experience errors.
// / Enable '0' if you experience false-negatives.
$ThoroughAV = '0';
$ThoroughAV = '1';
// / Persistent A/V scanning will try to achieve the highest level of scanning that is
// / possible with available permissions.
// / When enabled; If errors are encountered ANY AND EVERY attempt to recover from the
Expand All @@ -71,15 +73,27 @@
// / ------------------------------

// / ------------------------------
// / Directory locations ...
// / Directory Locations ...
// / The ServerRootDir should be pointed at the root of your web server directory.
// / (NO SLASH AFTER DIRECTORY!!!) ...
$ServerRootDir = '/var/www/html';
// / Use format '/home/YOUR_USERNAME/Desktop/TestDir'. (NO SLASH AFTER DIRECTORY!!!) ...
// / YOU MUST INSTALL HRCLOUD2 TO THE FOLLOWING DIRECTORY!!!
// / DO NOT CHANGE THE DEFAULT INSTALL DIRECTORY!!!
// / NOT OPTIMIZED FOR ALTERNATE INSTALL LOCATIONS!!! (NO SLASH AFTER DIRECTORY!!!) ...
$InstLoc = '/var/www/html/HRProprietary/HRCloud2';
// / The CloudLoc is where permanent Cloud files are stored. (NO SLASH AFTER DIRECTORY!!!) ...
$CloudLoc = '/mnt/22E65FA5E65F784D/Cloud';
$CloudLoc = '/mnt/23E43FN6A95F784A/Cloud';
// / ------------------------------

// / ------------------------------
// / Filesystem Permission Settings ...
// / Set the user for the Apache server to use when it writes to the filesystem.
// / Default is 'www-data'.
$ApacheUser = 'www-data';
// / Set the user group for the Apache server to use when it writes to the filesystem.
// / Default is 'www-data'.
$ApacheGroup = 'www-data';
// / Select the permission level of the $CloudLoc.
$CLPerms = '0755';
// / Select the permission level of the $InstLoc.
$ILPerms = '0755';
// / ------------------------------

0 comments on commit 4b5551c

Please sign in to comment.