Subversion-Projekte lars-tiefland.ci

Revision

Revision 1075 | Revision 1079 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1075 Revision 1077
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1075 $
8
 * @version $Rev: 1077 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class User_model extends CI_Model
11
class User_model extends CI_Model
12
{
12
{
Zeile 49... Zeile 49...
49
		return $user;
49
		return $user;
50
	}
50
	}
Zeile 51... Zeile 51...
51
 
51
 
52
	public function save($user)
52
	public function save($user)
53
	{
53
	{
54
		if ($_SERVER['HTTP_HOSTNAME'] == "ci.starfleethq.de")
54
		if ($_SERVER['SERVER_NAME'] == "ci.starfleethq.de")
55
		{
55
		{
56
			$GLOBALS['db_red_write'] = $GLOBALS['db_red'];
56
			$GLOBALS['db_red_write'] = $GLOBALS['db_red'];
57
		}
57
		}
58
		else
58
		else