]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/config.php
More conventions than code added:
[shipsimu.git] / application / ship-simu / config.php
index b373a1b109fe350958f1a380a29c8b4a3b3a9d29..dceca29aec6447fb7f0f9c0e5fec61061d51dbb1 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
 // Get a configuration instance for shorter lines
 $cfg = FrameworkConfiguration::getInstance();
 
-// CFG: DEFAULT-COMMAND
-$cfg->setConfigEntry('default_command', "home");
+// CFG: DEFAULT-WEB-COMMAND
+$cfg->setConfigEntry('default_web_command', "home");
+
+// CFG: DEFAULT-IMAGE-COMMAND
+$cfg->setConfigEntry('default_image_command', "build");
 
 // CFG: PAGE-WITH-NEWS
 $cfg->setConfigEntry('page_with_news', "home");
@@ -85,10 +88,10 @@ $cfg->setConfigEntry('user_status_guest', "GUEST");
 // CFG: USER-STATUS-CONFIRMED
 $cfg->setConfigEntry('user_status_confirmed', "CONFIRMED");
 
-// CFG: LOGIN-HELPER
+// CFG: LOGIN-HELPER-CLASS
 $cfg->setConfigEntry('login_helper_class', "ShipSimuLoginHelper");
 
-// CFG: LOGIN-METHOD
+// CFG: AUTH-METHOD-CLASS
 $cfg->setConfigEntry('auth_method_class', "CookieAuth");
 
 // CFG: APP-LOGIN-URL
@@ -103,6 +106,9 @@ $cfg->setConfigEntry('logout_done_url', "index.php?app=ship-simu&page=logout_don
 // CFG: LOGIN-USER-STATUS-URL
 $cfg->setConfigEntry('login_user_status_url', "index.php?app=ship-simu&page=login_area&action=status_problem");
 
+// CFG: LOGIN-USER-UNCONFIRMED-URL
+$cfg->setConfigEntry('login_user_unconfirmed_url', "index.php?app=ship-simu&page=status_unconfirmed_problem");
+
 // CFG: LOGIN-DEFAULT-ACTION
 $cfg->setConfigEntry('login_default_action', "welcome");
 
@@ -121,6 +127,18 @@ $cfg->setConfigEntry('user_auth_class', "UserAuthFilter");
 // CFG: USER-UPDATE-CLASS
 $cfg->setConfigEntry('user_update_class', "UserUpdateFilter");
 
+// CFG: CAPTCHA-ENCRYPT-VALIDATOR-CLASS
+$cfg->setConfigEntry('captcha_encrypt_validator_class', "CaptchaEncryptFilter");
+
+// CFG: CAPTCHA-GUEST-VERIFIER-CLASS
+$cfg->setConfigEntry('captcha_guest_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
+
+// CFG: CAPTCHA-USER-VERIFIER-CLASS
+$cfg->setConfigEntry('captcha_user_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
+
+// CFG: CAPTCHA-REGISTER-VERIFIER-CLASS
+$cfg->setConfigEntry('captcha_register_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
+
 // CFG: NEWS-HOME-LIMIT
 $cfg->setConfigEntry('news_home_limit', 10);
 
@@ -136,20 +154,20 @@ $cfg->setConfigEntry('login_disabled_reason', "Loginbereich befindet sich noch i
 // CFG: LOGIN-TYPE
 $cfg->setConfigEntry('login_type', "username"); // username, email, both
 
-// CFG: GUEST-LOGIN-ALLOWED
-$cfg->setConfigEntry('guest_login_allowed', "Y");
+// CFG: EMAIL-CHANGE-ALLOWED
+$cfg->setConfigEntry('email_change_allowed', "Y");
 
 // CFG: EMAIL-CHANGE-CONFIRMATION
 $cfg->setConfigEntry('email_change_confirmation', "Y");
 
-// CFG: EMAIL-CHANGE-ALLOWED
-$cfg->setConfigEntry('email_change_allowed', "Y");
+// CFG: GUEST-LOGIN-ALLOWED
+$cfg->setConfigEntry('guest_login_allowed', "Y");
 
 // CFG: GUEST-LOGIN-USERNAME
-$cfg->setConfigEntry('guest_login_username', "guest");
+$cfg->setConfigEntry('guest_login_user', "guest");
 
-// CFG: GUEST-LOGIN-PASSWORD
-$cfg->setConfigEntry('guest_login_password', "guest");
+// CFG: GUEST-LOGIN-PASS
+$cfg->setConfigEntry('guest_login_passwd', "guest");
 
 // CFG: LOGIN-WELCOME-ACTION-CLASS
 $cfg->setConfigEntry('login_welcome_action_class', "ShipSimuLoginAction");
@@ -160,8 +178,38 @@ $cfg->setConfigEntry('login_logout_action_class', "ShipSimuLogoutAction");
 // CFG: LOGIN-PROFILE-ACTION-CLASS
 $cfg->setConfigEntry('login_profile_action_class', "ShipSimuProfileAction");
 
+// CFG: SHIPSIMU-REGISTER-CAPTCHA
+$cfg->setConfigEntry('shipsimu_register_captcha', "GraphicalCodeCaptcha");
+
+// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA
+$cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha");
+
+// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
+$cfg->setConfigEntry('shipsimu_guest_login_captcha', "GraphicalCodeCaptcha");
+
 // CFG: LOGOUT-IMMEDIATE
 $cfg->setConfigEntry('logout_immediate', "N");
 
+// CFG: CAPTCHA-STRING-LENGTH
+$cfg->setConfigEntry('captcha_string_length', 5);
+
+// CFG: CAPTCHA-SEARCH-CHARS
+$cfg->setConfigEntry('captcha_search_chars', "+/=");
+
+// CFG: RANDOM-STRING-LENGTH
+$cfg->setConfigEntry('random_string_length', 100);
+
+// CFG: SHIPSIMU-REGISTER-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_register_captcha_secured', "Y");
+
+// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_user_login_captcha_secured', "Y");
+
+// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', "Y");
+
+// CFG: BLOCK-SHOWS-REGISTRATION
+$cfg->setConfigEntry('block_shows_registration', "Y");
+
 // [EOF]
 ?>