Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

When a logo on the top of the page is clicked, it goes to site url/index.php which is known to me. But this index.php file is returning this script, I'm much amazed:


// pageok
// managed by puppet - hostingcms02
header("Content-type: text/plain");

// Total size of directory
$totalSize = 0;

// List of files in cwd
$dir  = opendir('.');
while (($filename = readdir($dir)) ==! false) {
   $files[] = $filename;

// The results of filesize are cached, clear that cache

// Total file sizes
foreach ($files as $file) {
  // Add file to total size
  $totalSize += filesize($file);

echo "pageok\n\n";
echo "Directory Size: $totalSize\n\n";


I'm on GoDaddy hosting; and 1.5 version running.

Q2A version: 1.5

1 Answer

0 votes
No idea what this is, but it's nothing to do with Q2A.
Hey gidgreen, I somehow managed to correct this error.
What was the problem?