Modify

Opened 5 years ago

Closed 5 years ago

#2004 closed Erweiterung (fixed)

admin/includes/application_top.php - Spracheinbindung

Reported by: Volker Strähle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Admin Version: trunk
Keywords: Cc:
Blocked By: Blocking:

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 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 13484:

fix #2004 - require_once for language files

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.