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
9b1e9b4a
Commit
9b1e9b4a
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Update php version to 5.2 because we use json_encode into ajax that requires 5.2.
parent
da06d8bf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/check.php
+2
-2
2 additions, 2 deletions
htdocs/install/check.php
htdocs/install/etape1.php
+8
-8
8 additions, 8 deletions
htdocs/install/etape1.php
with
10 additions
and
10 deletions
htdocs/install/check.php
+
2
−
2
View file @
9b1e9b4a
...
...
@@ -22,7 +22,7 @@
* \file htdocs/install/check.php
* \ingroup install
* \brief Test if file conf can be modified and if does not exists, test if install process can create it
* \version $Id: check.php,v 1.8
8
2011/08/1
1 20:59:32
eldy Exp $
* \version $Id: check.php,v 1.8
9
2011/08/1
5 12:14:25
eldy Exp $
*/
include_once
(
"./inc.php"
);
...
...
@@ -73,7 +73,7 @@ if (versioncompare(versionphparray(),array(4,3,10)) < 0) // Minimum to us
}
else
if
(
versioncompare
(
versionphparray
(),
array
(
5
,
2
,
0
))
<
0
)
// Minimum supported (warning if lower)
{
print
'<img src="../theme/eldy/img/warning.png" alt="Error"> '
.
$langs
->
trans
(
"WarningPHPVersionTooLow"
,
'5.
0
.0'
);
print
'<img src="../theme/eldy/img/warning.png" alt="Error"> '
.
$langs
->
trans
(
"WarningPHPVersionTooLow"
,
'5.
2
.0'
);
$checksok
=
0
;
}
else
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/etape1.php
+
8
−
8
View file @
9b1e9b4a
...
...
@@ -23,7 +23,7 @@
* \file htdocs/install/etape1.php
* \ingroup install
* \brief Build conf file on disk
* \version $Id: etape1.php,v 1.1
39
2011/08/1
4 21:25:26
eldy Exp $
* \version $Id: etape1.php,v 1.1
40
2011/08/1
5 12:14:25
eldy Exp $
*/
define
(
'DONOTLOADCONF'
,
1
);
// To avoid loading conf by file inc.php
...
...
@@ -162,13 +162,13 @@ if ($action == "set")
}
// Les documents sont en dehors de htdocs car ne doivent pas pouvoir etre telecharges en passant outre l'authentification
$dir
[
0
]
=
"
$main_data_dir
/facture
"
;
$dir
[
1
]
=
"
$main_data_dir
/users"
;
$dir
[
2
]
=
"
$main_data_dir
/propa
le"
;
$dir
[
3
]
=
"
$main_data_dir
/mycompany
"
;
$dir
[
4
]
=
"
$main_data_dir
/ficheinter
"
;
$dir
[
5
]
=
"
$main_data_dir
/produit
"
;
$dir
[
6
]
=
"
$main_data_dir
/rappor
t"
;
$dir
[
0
]
=
$main_data_dir
.
"/mycompany
"
;
$dir
[
1
]
=
$main_data_dir
.
"
/users"
;
$dir
[
2
]
=
$main_data_dir
.
"/modu
le
s
"
;
$dir
[
3
]
=
$main_data_dir
.
"/facture
"
;
$dir
[
4
]
=
$main_data_dir
.
"/propale
"
;
$dir
[
5
]
=
$main_data_dir
.
"/ficheinter
"
;
$dir
[
6
]
=
$main_data_dir
.
"/produi
t"
;
// Boucle sur chaque repertoire de dir[] pour les creer s'ils nexistent pas
for
(
$i
=
0
;
$i
<
sizeof
(
$dir
)
;
$i
++
)
...
...
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