Completed
Push — release-2.1 ( 6f6d35...abeae7 )
by Mathias
08:46
created

cache/index.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
// This file is here solely to protect your cache directory.
4
5
// Look for Settings.php....
6 View Code Duplication
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
0 ignored issues
show
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
7
{
8
	// Found it!
9
	require(dirname(dirname(__FILE__)) . '/Settings.php');
10
	header('Location: ' . $boardurl);
11
}
12
// Can't find it... just forget it.
13
else
14
	exit;
15
16
?>