application/admin/templates/de/emails/.htaccess -text
application/admin/templates/de/emails/text_resend_link.tpl -text
application/admin/templates/de/html/.htaccess -text
+application/admin/templates/de/html/emergency_exit.ctp -text
+application/admin/templates/de/html/footer_msg.ctp -text
application/admin/templates/de/html/nav_advert.tpl -text
application/admin/templates/de/html/selector_admin.tpl -text
application/admin/templates/images/.htaccess -text
$method = null;
$data = "";
- // Get a instance of the registry
- $userInstance = Registry::getRegistry()->getInstance('user');
+ // Get member class
+ $userClass = $this->getConfigInstance()->readConfig('user_class');
- // Is there an instance?
- if (is_null($userInstance)) {
- // Get member class
- $userClass = $this->getConfigInstance()->readConfig('user_class');
+ // Get a user instance
+ $userInstance = call_user_func_array(array($userClass, 'createMemberByRequest'), array($requestInstance));
- // Get a user instance
- $userInstance = call_user_func_array(array($userClass, 'createMemberByRequest'), array($requestInstance));
-
- // Remember this new instance in registry
- Registry::getRegistry()->addInstance($userInstance);
- } // END - if
+ // Remember this new instance in registry
+ Registry::getRegistry()->addInstance('user', $userInstance);
// Is the password correct?
if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
--- /dev/null
+{?header:title="Problem in application framework detected!"?}
+
+<div id="emergency_message">
+ $content[message]
+</div>
+
+<div id="emergency_backtrace">
+ <div id="backtrace_header">
+ File inclusion backtrace:
+ </div>
+ <div id="backtrace_content">
+ $content[backtrace]
+ </div>
+</div>
+
+<div id="stats_box">
+ <div id="stats_header">
+ Statistics
+ </div>
+ <div id="stats_objects">
+ Total objects: $content[total_objects]
+ </div>
+ <div id="stats_includes">
+ Loaded class files: $content[total_includes]
+ <span class="hint">(Including exception and interfaces.)</span>
+ </div>
+</div>
+
+{?footer_msg:footer_msg="Please contact the support and supply the full above message, if you think you are not qualified to fix this problem."?}
--- /dev/null
+ <div id="footer_message">
+ $content[footer_msg]
+ </div>
+
+</div> <!-- masterbox //-->
+
+</body>
+</html>