blob: a67b610e92bdc55b4093ace83a1ce57ce691c3f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?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 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>
<?php
$content = ob_get_clean();
$body = elgg_view_layout('one_column', $content);
echo page_draw(null, $body);
?>
|