Merge pull request #2 from LeOSW42/copilot/remove-end-file-php-tags
Remove trailing PHP closing tags
This commit is contained in:
@@ -283,5 +283,3 @@ function formatBytes($bytes, $locale = 'en', $precision = 2) {
|
|||||||
|
|
||||||
return $formatted . ' ' . $units[$power];
|
return $formatted . ' ' . $units[$power];
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -189,5 +189,3 @@ switch ($controller->splitted_url[1]) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -72,6 +72,3 @@ $head['js'] = "d.captcha.js";
|
|||||||
$head['title'] = "Contact";
|
$head['title'] = "Contact";
|
||||||
|
|
||||||
include ($config['views_folder']."d.contact.html");
|
include ($config['views_folder']."d.contact.html");
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -18,5 +18,3 @@ else {
|
|||||||
require_once($config['includes_folder']."poi_types.struct.php");
|
require_once($config['includes_folder']."poi_types.struct.php");
|
||||||
include ($config['views_folder']."d.map.html");
|
include ($config['views_folder']."d.map.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -274,5 +274,3 @@ switch ($controller->splitted_url[1]) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -223,5 +223,3 @@ if(isset($controller->splitted_url[1])) {
|
|||||||
else {
|
else {
|
||||||
$notfound = 1;
|
$notfound = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -77,5 +77,3 @@ else if(isset($controller->splitted_url[1]) && $wikiPage->checkPermalink($contro
|
|||||||
else {
|
else {
|
||||||
$notfound = 1;
|
$notfound = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -48,5 +48,3 @@ $config['SQL_db'] = "postgres";
|
|||||||
|
|
||||||
$config['admin_mail'] = "leo@lstronic.com";
|
$config['admin_mail'] = "leo@lstronic.com";
|
||||||
$config['bot_mail'] = "robot@kabano.com";
|
$config['bot_mail'] = "robot@kabano.com";
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -38,5 +38,3 @@ function generate_image_thumbnail($source_image_path, $thumbnail_image_path, $wi
|
|||||||
imagedestroy($thumbnail_gd_image);
|
imagedestroy($thumbnail_gd_image);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -89,5 +89,3 @@ $poi_types = array(
|
|||||||
)
|
)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -70,5 +70,3 @@ if($notfound) {
|
|||||||
$head['title'] = $wikiPage->name;
|
$head['title'] = $wikiPage->name;
|
||||||
include ($config['views_folder']."d.wiki.view.html");
|
include ($config['views_folder']."d.wiki.view.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -33,6 +33,3 @@ if (PHP_VERSION_ID < 80000) {
|
|||||||
}
|
}
|
||||||
$user->datetime_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::LONG, IntlDateFormatter::SHORT, $config['timezone']);
|
$user->datetime_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::LONG, IntlDateFormatter::SHORT, $config['timezone']);
|
||||||
$user->datetimeshort_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $config['timezone']);
|
$user->datetimeshort_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $config['timezone']);
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -2,5 +2,3 @@
|
|||||||
|
|
||||||
require_once('includes/config.php');
|
require_once('includes/config.php');
|
||||||
require_once('includes/routes.php');
|
require_once('includes/routes.php');
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -370,5 +370,3 @@ class BlogArticles
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -204,5 +204,3 @@ class Comments
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -94,5 +94,3 @@ class Locales
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -453,5 +453,3 @@ class Pois
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -451,5 +451,3 @@ class Users
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -301,5 +301,3 @@ class WikiPages
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user