Opened 4 months ago

Closed 4 months ago

#2004 closed Erweiterung (fixed)

admin/includes/application_top.php - Spracheinbindung

Reported by: webald Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Admin Version: trunk

Description

In obiger Datei steht

if (is_file(DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page)) {
  require(DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page);
}

Schlage vor das zu ändern in

if (is_file(DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page)) {
  require_once(DIR_FS_LANGUAGES . $_SESSION['language'] . '/admin/' . $current_page);
}

Das gibt die Möglichkeit eine vorhandene Sprachdatei in anderen Modulen einzubinden.

Attachments (0)

Change History (1)

comment:1 Changed 4 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 13484:

fix #2004 - require_once for language files

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.