Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
aea33775
Commit
aea33775
authored
Sep 14, 2012
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed FS#2419 - APS Installer > Update Packagelist takes forever (Debian Wheezy, PHP 5.4.4).
parent
65ea2ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
interface/lib/classes/aps_crawler.inc.php
interface/lib/classes/aps_crawler.inc.php
+2
-2
No files found.
interface/lib/classes/aps_crawler.inc.php
View file @
aea33775
...
...
@@ -200,7 +200,7 @@ class ApsCrawler extends ApsBase
* A method to build query URLs out of a list of vendors
*
*/
private
function
formatVendorCallback
(
&
$array_item
,
$key
)
private
function
formatVendorCallback
(
$array_item
,
$key
)
{
$array_item
=
str_replace
(
' '
,
'%20'
,
$array_item
);
$array_item
=
str_replace
(
'http://'
,
''
,
$array_item
);
...
...
@@ -274,7 +274,7 @@ class ApsCrawler extends ApsBase
// Find out a (possibly) existing package version
$ex_ver
=
''
;
array_walk
(
$existing_apps
,
create_function
(
'$v, $k, $ex_ver'
,
'if($v["Name"] == "'
.
$app_name
.
'") $ex_ver = $v["CurrentVersion"];'
),
&
$ex_ver
);
create_function
(
'$v, $k, $ex_ver'
,
'if($v["Name"] == "'
.
$app_name
.
'") $ex_ver = $v["CurrentVersion"];'
),
$ex_ver
);
$new_ver
=
$app_version
.
'-'
.
$app_release
;
$local_intf_folder
=
$this
->
interface_pkg_dir
.
'/'
.
$app_name
.
'-'
.
$new_ver
.
'.app.zip/'
;
...
...
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