Skip to content

Commit

Permalink
Dev: Add upload/plugins folder
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 29, 2018
1 parent b7faca1 commit 09c109b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 5 additions & 3 deletions application/libraries/PluginManager/PluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ class PluginManager extends \CApplicationComponent
* @var array
*/
public $pluginDirs = [
// User plugins
// User plugins installed through command line.
'user' => 'webroot.plugins',
// Core plugins
'core' => 'application.core.plugins'
// Core plugins.
'core' => 'application.core.plugins',
// Uploaded plugins installed through ZIP file.
'upload' => 'webroot.upload.plugins'
];

/**
Expand Down
12 changes: 12 additions & 0 deletions upload/plugins/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>LimeSurvey</title>
</head>
<body>
</body>
</html>



0 comments on commit 09c109b

Please sign in to comment.