mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Theme downlods in working state (work in progress, cleanup needed)
This commit is contained in:
@@ -723,9 +723,11 @@ class e_file
|
||||
|
||||
/**
|
||||
* Download a Plugin or Theme to Temp, then test and move to plugin/theme folder and backup to system backup folder.
|
||||
* DEPRECATED - moved to e_marketplace
|
||||
* @param $remotefile URL
|
||||
* @param $type plugin or theme
|
||||
*/
|
||||
/*
|
||||
public function download($remotefile, $type='theme')
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
@@ -835,13 +837,14 @@ class e_file
|
||||
|
||||
// echo "file=".$file;
|
||||
exit;
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Runs through the zip archive array and finds the root directory.
|
||||
*/
|
||||
private function getRootFolder($unarc)
|
||||
public function getRootFolder($unarc)
|
||||
{
|
||||
foreach($unarc as $d)
|
||||
{
|
||||
|
Reference in New Issue
Block a user