Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
f7acd0f5
Commit
f7acd0f5
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Bad path for instal.lock
parent
b315bf3e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/admin/tools/update.php
+7
-8
7 additions, 8 deletions
htdocs/admin/tools/update.php
htdocs/langs/en_US/admin.lang
+1
-1
1 addition, 1 deletion
htdocs/langs/en_US/admin.lang
with
8 additions
and
9 deletions
htdocs/admin/tools/update.php
+
7
−
8
View file @
f7acd0f5
<?php
<?php
/* Copyright (C) 2007-201
0
Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2007-201
2
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2009 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2009 Regis Houssin <regis@dolibarr.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -39,7 +39,7 @@ $urldolibarrmodules='http://www.dolistore.com/';
...
@@ -39,7 +39,7 @@ $urldolibarrmodules='http://www.dolistore.com/';
$urldolibarrthemes
=
'http://www.dolistore.com/'
;
$urldolibarrthemes
=
'http://www.dolistore.com/'
;
$dolibarrroot
=
preg_replace
(
'/([\\/]+)$/i'
,
''
,
DOL_DOCUMENT_ROOT
);
$dolibarrroot
=
preg_replace
(
'/([\\/]+)$/i'
,
''
,
DOL_DOCUMENT_ROOT
);
$dolibarrroot
=
preg_replace
(
'/([^\\/]+)$/i'
,
''
,
$dolibarrroot
);
$dolibarrroot
=
preg_replace
(
'/([^\\/]+)$/i'
,
''
,
$dolibarrroot
);
$dolibarrdataroot
=
preg_replace
(
'/([\\/]+)$/i'
,
''
,
DOL_DATA_ROOT
);
/*
/*
* Actions
* Actions
...
@@ -93,10 +93,7 @@ print $langs->trans("CurrentVersion").' : <b>'.DOL_VERSION.'</b><br>';
...
@@ -93,10 +93,7 @@ print $langs->trans("CurrentVersion").' : <b>'.DOL_VERSION.'</b><br>';
print
$langs
->
trans
(
"LastStableVersion"
)
.
' : <b>'
.
$langs
->
trans
(
"FeatureNotYetAvailable"
)
.
'</b><br>'
;
print
$langs
->
trans
(
"LastStableVersion"
)
.
' : <b>'
.
$langs
->
trans
(
"FeatureNotYetAvailable"
)
.
'</b><br>'
;
print
'<br>'
;
print
'<br>'
;
if
(
$mesg
)
dol_htmloutput_errors
(
$mesg
);
{
print
'<div class="error">'
.
$mesg
.
'</div><br>'
;
}
print
$langs
->
trans
(
"Upgrade"
)
.
'<br>'
;
print
$langs
->
trans
(
"Upgrade"
)
.
'<br>'
;
print
'<hr>'
;
print
'<hr>'
;
...
@@ -107,12 +104,12 @@ print $langs->trans("DownloadPackageFromWebSite",$fullurl).'<br>';
...
@@ -107,12 +104,12 @@ print $langs->trans("DownloadPackageFromWebSite",$fullurl).'<br>';
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
2
)
.
'</b>: '
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
2
)
.
'</b>: '
;
print
$langs
->
trans
(
"UnpackPackageInDolibarrRoot"
,
$dolibarrroot
)
.
'<br>'
;
print
$langs
->
trans
(
"UnpackPackageInDolibarrRoot"
,
$dolibarrroot
)
.
'<br>'
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
3
)
.
'</b>: '
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
3
)
.
'</b>: '
;
print
$langs
->
trans
(
"RemoveLock"
,
$dolibarrroot
.
'install.lock'
)
.
'<br>'
;
print
$langs
->
trans
(
"RemoveLock"
,
$dolibarr
data
root
.
'
/
install.lock'
)
.
'<br>'
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
4
)
.
'</b>: '
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
4
)
.
'</b>: '
;
$fullurl
=
'<a href="'
.
DOL_URL_ROOT
.
'/install/" target="_blank">'
.
DOL_URL_ROOT
.
'/install/</a>'
;
$fullurl
=
'<a href="'
.
DOL_URL_ROOT
.
'/install/" target="_blank">'
.
DOL_URL_ROOT
.
'/install/</a>'
;
print
$langs
->
trans
(
"CallUpdatePage"
,
$fullurl
)
.
'<br>'
;
print
$langs
->
trans
(
"CallUpdatePage"
,
$fullurl
)
.
'<br>'
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
5
)
.
'</b>: '
;
print
'<b>'
.
$langs
->
trans
(
"StepNb"
,
5
)
.
'</b>: '
;
print
$langs
->
trans
(
"RestoreLock"
,
$dolibarrroot
.
'install.lock'
)
.
'<br>'
;
print
$langs
->
trans
(
"RestoreLock"
,
$dolibarr
data
root
.
'
/
install.lock'
)
.
'<br>'
;
print
'<br>'
;
print
'<br>'
;
print
'<br>'
;
print
'<br>'
;
...
@@ -141,4 +138,6 @@ print $langs->trans("SetupIsReadyForUse").'<br>';
...
@@ -141,4 +138,6 @@ print $langs->trans("SetupIsReadyForUse").'<br>';
print
'</form>'
;
print
'</form>'
;
llxFooter
();
llxFooter
();
$db
->
close
();
?>
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/admin.lang
+
1
−
1
View file @
f7acd0f5
...
@@ -38,7 +38,7 @@ SetupArea=Setup area
...
@@ -38,7 +38,7 @@ SetupArea=Setup area
FormToTestFileUploadForm=Form to test file upload (according to setup)
FormToTestFileUploadForm=Form to test file upload (according to setup)
IfModuleEnabled=Note: yes is effective only if module <b>%s</b> is enabled
IfModuleEnabled=Note: yes is effective only if module <b>%s</b> is enabled
RemoveLock=Remove file <b>%s</b> if it exists to allow usage of the update tool.
RemoveLock=Remove file <b>%s</b> if it exists to allow usage of the update tool.
RestoreLock=Re
plac
e file <b>%s</b>, with read permission only, to disable any usage of update tool.
RestoreLock=Re
stor
e file <b>%s</b>, with read permission only, to disable any usage of update tool.
SecuritySetup=Security setup
SecuritySetup=Security setup
ErrorModuleRequirePHPVersion=Error, this module requires PHP version %s or higher
ErrorModuleRequirePHPVersion=Error, this module requires PHP version %s or higher
ErrorModuleRequireDolibarrVersion=Error, this module requires Dolibarr version %s or higher
ErrorModuleRequireDolibarrVersion=Error, this module requires Dolibarr version %s or higher
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment