Commit 062d1a0
authored
PHP 5.0 syntax
What I had earlier thought was Python-like code was actually PHP using syntax effective with version 5.4+.
Piwigo itself requires only PHP 5.0 or higher. So it looks like issue #107 is that the Piwigo server may be running a lower PHP version than 5.4. My host, for example, runs PHP 5.2; don't ask why. The unattractive syntax in this commit should work with any PHP 5.0+.1 parent 017980e commit 062d1a0
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments