aboutsummaryrefslogtreecommitdiff
path: root/permissions.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2010-07-04 19:43:29 +0000
committercash <cash.costello@gmail.com>2010-07-04 19:43:29 +0000
commit25581d5c26fb630dad768c82395c73f0e4b8ccf8 (patch)
tree157e5551353aa3cd03653e9abc3fa908d0bb336b /permissions.php
parent16da0ce0f606397012c65950b07262fbecb2fc84 (diff)
downloadelgg-25581d5c26fb630dad768c82395c73f0e4b8ccf8.tar.gz
elgg-25581d5c26fb630dad768c82395c73f0e4b8ccf8.tar.bz2
moved cache to data directory for better security
Diffstat (limited to 'permissions.php')
-rw-r--r--permissions.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/permissions.php b/permissions.php
deleted file mode 100644
index 6f06a0268..000000000
--- a/permissions.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
- // Load Elgg engine
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
- ob_start();
-
-?>
-
-<style type="text/css">
-#permissions {
- margin:20px 0 0 0;
- font:14px/1.4em "Lucida Grande", Verdana, Arial, Helvetica, Clean, Sans, sans-serif;
- letter-spacing:0px;
- color:#333;
-}
-</style>
-
-<div class="contentWrapper" style="margin:0; min-height:340px;">
-
-<div id="elggreturn">
- <a href="javascript:history.go(-1)">Return to Tools Administration</a>
-</div>
-<div id="permissions">
-
-<?php
-
- if (is_writable('cache'))
- echo '<p>Good news. The cache directory is writeable.</p>';
- else
- echo '<p>The cache directory is not writeable.</p>';
-
- echo '<p>The permissions on the directory are ' . substr(decoct(fileperms('cache')),2) . '.</p>';
-
-?>
-</div>
-</div>
-
-<?php
- $content = ob_get_clean();
- $body = elgg_view_layout('one_column', $content);
- echo page_draw(null, $body);
-?>