Skip to content

Commit

Permalink
change current_domain to server_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Murtaugh committed Jan 11, 2014
1 parent 3c3dfeb commit f1814ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ protected function current_url()
{
$this->EE->load->helper('url');

$this->set_global_var('current_domain', $_SERVER['SERVER_NAME']);
$this->set_global_var('server_name', $_SERVER['SERVER_NAME']);

$this->set_global_var('current_url', current_url());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'archive' => 'Add Archive Detect Conditional (detects presence of year, month, date in URI): {if archive}, {if yearly_archive}, {if monthly_archive}, {if daily_archive}, {if not_archive}, {if not_yearly_archive}, {if not_monthly_archive}, {if not_daily_archive}',
'categorized' => 'Add Category Detect Conditional (detects presence of reserved category work in URI): {if categorized}',
'reserved_category_word' => 'Add Reserved Category Word: {reserved_category_word}',
'current_url' => 'Add Current URL: {current_url}, {current_domain}, {current_url_encoded} {query_string}, {uri_string}, {uri_string_encoded}',
'current_url' => 'Add Current URL: {current_url}, {server_name}, {current_url_encoded} {query_string}, {uri_string}, {uri_string_encoded}',
'member_variables' => 'Early-parsed Member Variables (for use as tag paramters): {logged_in_member_id}, {logged_in_group_id}, {logged_in_username}, {logged_in_screen_name}, {logged_in_email}',
'member_group_conditionals' => 'Early-parsed Member Group Conditionals: {if in_group(1|2|3)}, {if not_in_group(1|2|3)}',
);

0 comments on commit f1814ba

Please sign in to comment.