mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-11 19:16:49 +01:00
No parens for include functions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
include "headers.php";
|
||||
include "settings.php" ;
|
||||
$t = $text['auto-logout-warning'];
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
@@ -21,4 +21,4 @@ $t = $text['auto-logout-warning'];
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// Load common functions
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
include "headers.php";
|
||||
include "settings.php";
|
||||
|
||||
$file = str_replace("|", "/", xssClean($_GET['file'], 'html'));
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// Load common functions
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
include "headers.php";
|
||||
include "settings.php";
|
||||
$text = $_SESSION['text'];
|
||||
$t = $text['backup-versions'];
|
||||
|
||||
@@ -90,7 +90,7 @@ let highlightVersion = function(elem) {
|
||||
|
||||
<?php
|
||||
echo "fileName = '" . basename($file) . "';";
|
||||
include(dirname(__FILE__) . "/../assets/js/language-modes-partial.js");
|
||||
include dirname(__FILE__) . "/../assets/js/language-modes-partial.js";
|
||||
?>
|
||||
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// Load common functions
|
||||
include("headers.php");
|
||||
include_once("settings-common.php");
|
||||
include "headers.php";
|
||||
include_once "settings-common.php";
|
||||
$text = $_SESSION['text'];
|
||||
$t = $text['bug-files-check'];
|
||||
|
||||
@@ -107,7 +107,7 @@ $status = array(
|
||||
);
|
||||
|
||||
// Include our process once our bug checking work is done
|
||||
include("../processes/on-bug-check.php");
|
||||
include "../processes/on-bug-check.php";
|
||||
|
||||
// Finally, display our status in JSON format as the XHR response text
|
||||
echo json_encode($status);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
include "headers.php";
|
||||
include "settings.php";
|
||||
|
||||
// Establish the real absolute path to the file
|
||||
$file = realpath($docRoot . $iceRoot . str_replace("|", "/", $_GET['file']));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
include("ftp-control.php");
|
||||
include "headers.php";
|
||||
include "settings.php";
|
||||
include "ftp-control.php";
|
||||
$t = $text['file-control'];
|
||||
?>
|
||||
<script>
|
||||
@@ -119,7 +119,7 @@ if ("load" === $_GET['action']) {
|
||||
$loadedFile = preg_replace('/\\n/', ' ', $loadedFile);
|
||||
echo '</script><textarea name="loadedFile" id="loadedFile">' . $loadedFile . '</textarea><script>';
|
||||
// Run our custom processes
|
||||
include_once("../processes/on-file-load.php");
|
||||
include_once "../processes/on-file-load.php";
|
||||
} else if (0 === strpos($finfo, "image")) {
|
||||
echo 'fileType="image";fileName=\'' . $fileLoc . "/" . $fileName . '\';';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user