Ticket #252: translation2.diff
| File translation2.diff, 1.9 kB (added by renato, 9 months ago) |
|---|
-
includes.php
old new 52 52 <title>Elgg installation</title> 53 53 </head> 54 54 <body> 55 <h1>Elgg still is n't ready to run just yet. (Sorry.)</h1>55 <h1>Elgg still is not ready to run just yet. (Sorry.)</h1> 56 56 <p> 57 57 You're going to need to rename the <i>htaccess-dist</i> file that 58 58 came with your installation (it's in the main installation directory) … … 103 103 * CORE FUNCTIONALITY LIBRARIES 104 104 ****************************************************************************/ 105 105 106 107 // Load setup.php which will initialize database connections and such like. 108 require_once($CFG->dirroot.'lib/setup.php'); 109 106 110 // Language / internationalisation 107 111 //@todo All the libraries has a strong dependence with this 'plugin' 108 112 require_once($CFG->dirroot . "mod/gettext/lib.php"); 109 113 110 // Load setup.php which will initialize database connections and such like.111 require_once($CFG->dirroot.'lib/setup.php');112 114 113 115 // Plug-in engine (must be loaded first) 114 116 require($CFG->dirroot . "lib/engine.php"); -
lib/elgglib.php
old new 3400 3400 global $USER; 3401 3401 if((!empty($_COOKIE[AUTH_COOKIE])) && $ticket = md5($_COOKIE[AUTH_COOKIE])) { 3402 3402 if ($user = get_record('users','code',$ticket)) { 3403 $USER = $user; 3403 $user = (array) $user; 3404 foreach ($user as $attr => $val){ 3405 $USER->$attr = $val; 3406 } 3404 3407 3405 3408 /*** TODO: Create Proper Abstraction Interface - don't use file binding -- ugh ***/ 3406 3409 if (!user_flag_get("banned",$USER->ident)) {
