| 
									
										
										
										
											2017-04-24 17:13:08 -06:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  | /* | 
					
						
							|  |  |  |  * This Source Code Form is subject to the terms of the Mozilla Public | 
					
						
							| 
									
										
										
										
											2018-04-09 19:18:19 -06:00
										 |  |  |  * License, v. 2.0. If a copy of the MPL was not distributed with this | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |  * file, You can obtain one at http://mozilla.org/MPL/2.0/. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  | // Settings for the app.
 | 
					
						
							|  |  |  | // Copy to settings.php and customize.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  | $SETTINGS = [ | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Whether to output debugging info like PHP notices, warnings,
 | 
					
						
							|  |  |  |     // and stacktraces.
 | 
					
						
							|  |  |  |     // Turning this on in production is a security risk and can sometimes break
 | 
					
						
							|  |  |  |     // things, such as JSON output where extra content is not expected.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "debug" => false, | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Database connection settings
 | 
					
						
							|  |  |  |     // See http://medoo.in/api/new for info
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "database" => [ | 
					
						
							|  |  |  |         "type" => "mysql", | 
					
						
							|  |  |  |         "name" => "app", | 
					
						
							|  |  |  |         "server" => "localhost", | 
					
						
							|  |  |  |         "user" => "app", | 
					
						
							|  |  |  |         "password" => "", | 
					
						
							|  |  |  |         "charset" => "utf8" | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Name of the app.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "site_title" => "Web App Template", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Settings for connecting to the AccountHub server.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "accounthub" => [ | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |         // URL for the API endpoint
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |         "api" => "http://localhost/accounthub/api/", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |         // URL of the home page
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |         "home" => "http://localhost/accounthub/home.php", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |         // API key
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |         "key" => "123" | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-12-26 16:32:43 -07:00
										 |  |  |     // List of required user permissions to access this app.
 | 
					
						
							|  |  |  |     "permissions" => [ | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // For supported values, see http://php.net/manual/en/timezones.php
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "timezone" => "America/Denver", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Language to use for localization. See langs folder to add a language.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "language" => "en", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Shown in the footer of all the pages.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "footer_text" => "", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Also shown in the footer, but with "Copyright <current_year>" in front.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "copyright" => "Netsyms Technologies", | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  |     // Base URL for building links relative to the location of the app.
 | 
					
						
							|  |  |  |     // Only used when there's no good context for the path.
 | 
					
						
							|  |  |  |     // The default is almost definitely fine.
 | 
					
						
							| 
									
										
										
										
											2018-12-20 23:45:45 -07:00
										 |  |  |     "url" => "." | 
					
						
							| 
									
										
										
										
											2018-12-20 23:54:25 -07:00
										 |  |  | ]; |