Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-10-01 01:05:10 +0400
committerBart Visscher <bartv@thisnet.nl>2011-10-01 01:17:18 +0400
commitf4782a76907cf010faf9f4cd7deb3a67a2d02de9 (patch)
treeff3236d0f2785bc6946e84a80e69cf65a1fd6559 /apps/admin_export/settings.php
parentddd359989909add47912ad358bec55a924907d81 (diff)
Check if the application is actually enabled
Diffstat (limited to 'apps/admin_export/settings.php')
-rw-r--r--apps/admin_export/settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/admin_export/settings.php b/apps/admin_export/settings.php
index 2d1bc66a296..565c4b3db97 100644
--- a/apps/admin_export/settings.php
+++ b/apps/admin_export/settings.php
@@ -20,6 +20,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
+OC_Util::checkAppEnabled('admin_export');
if (isset($_POST['admin_export'])) {
$root = OC::$SERVERROOT . "/";
$zip = new ZipArchive();
@@ -91,4 +92,4 @@ function zipAddDir($dir, $zip, $recursive=true, $internalDir='') {
} else {
error_log("Was not able to open directory: " . $dir);
}
-} \ No newline at end of file
+}