Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
e1f10680
Commit
e1f10680
authored
Nov 15, 2008
by
fantu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch: if select language file to load not exist load the english language file
- Etch docs update
parent
8d390a43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
INSTALL_DEBIAN_4.0.txt
INSTALL_DEBIAN_4.0.txt
+2
-4
interface/lib/classes/listform_actions.inc.php
interface/lib/classes/listform_actions.inc.php
+4
-0
No files found.
INSTALL_DEBIAN_4.0.txt
View file @
e1f10680
...
...
@@ -98,13 +98,11 @@ There are two possile scenarios, but not both:
7.1) Install the latest released version
7.2) Install directly from SVN
apt-get install php5-cli
7.1) Installation of beta 3 from tar.gz
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.
6
-beta.tar.gz
tar xvfz ISPConfig-3.0.0.
6
-beta.tar.gz
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.
7
-beta.tar.gz
tar xvfz ISPConfig-3.0.0.
7
-beta.tar.gz
cd ispconfig3_install/install/
7.2) Installation from SVN
...
...
interface/lib/classes/listform_actions.inc.php
View file @
e1f10680
...
...
@@ -145,11 +145,15 @@ class listform_actions {
//* Set global Language File
$lng_file
=
ISPC_LIB_PATH
.
'/lang/'
.
$_SESSION
[
's'
][
'language'
]
.
'.lng'
;
if
(
!
file_exists
(
$lng_file
))
$lng_file
=
ISPC_LIB_PATH
.
'/lang/en.lng'
;
include
(
$lng_file
);
$app
->
tpl
->
setVar
(
$wb
);
//* Set local Language File
$lng_file
=
'lib/lang/'
.
$_SESSION
[
's'
][
'language'
]
.
'_'
.
$app
->
listform
->
listDef
[
'name'
]
.
'_list.lng'
;
if
(
!
file_exists
(
$lng_file
))
$lng_file
=
'lib/lang/en_'
.
$app
->
listform
->
listDef
[
'name'
]
.
'_list.lng'
;
include
(
$lng_file
);
$app
->
tpl
->
setVar
(
$wb
);
$app
->
tpl
->
setVar
(
'form_action'
,
$app
->
listform
->
listDef
[
'file'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment