From 015ed2cd2b1794f7e26fcafef94d740d874f4aed Mon Sep 17 00:00:00 2001 From: Memi Beltrame Date: Tue, 14 Apr 2015 13:35:29 +0200 Subject: [PATCH] cleanup --- .htaccess | 2 +- addons/sublime/box.sublime-snippet | 2 +- core/protostrap.php | 1 - fileNotFound.php | 2 +- index.php | 2 +- snippets/header.php | 1 - snippets/navBarTop.php | 2 +- testpage.php | 5 ++++- 8 files changed, 9 insertions(+), 8 deletions(-) delete mode 100755 snippets/header.php diff --git a/.htaccess b/.htaccess index dd3c390..9a8a7e8 100755 --- a/.htaccess +++ b/.htaccess @@ -12,7 +12,7 @@ Allow from all Deny from env=passreq Satisfy any -# This redirects any links that do not work to the file missing.php +# This redirects any links that do not work to the file fileNotFound.php RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ fileNotFound.php/$1 diff --git a/addons/sublime/box.sublime-snippet b/addons/sublime/box.sublime-snippet index 707f8dc..96aa48f 100644 --- a/addons/sublime/box.sublime-snippet +++ b/addons/sublime/box.sublime-snippet @@ -1,5 +1,5 @@ - + } ]]> box diff --git a/core/protostrap.php b/core/protostrap.php index 24e2882..2b17fb6 100755 --- a/core/protostrap.php +++ b/core/protostrap.php @@ -17,7 +17,6 @@ include($csd.'/spyc.php'); include($csd.'/dataParse.php'); - // Handle request ID $reqId = false; if (!empty($_POST['id'])) { diff --git a/fileNotFound.php b/fileNotFound.php index d77b6a1..2c5e24b 100755 --- a/fileNotFound.php +++ b/fileNotFound.php @@ -39,7 +39,7 @@
+//include('./snippets/navBarTop.php');?>

End of Prototype

diff --git a/index.php b/index.php index 29f6ac2..e98d54d 100755 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ + include('./snippets/navBarTop.php');?>

Change this in snippets/navBarTop.php



diff --git a/snippets/header.php b/snippets/header.php deleted file mode 100755 index ee4eb27..0000000 --- a/snippets/header.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/snippets/navBarTop.php b/snippets/navBarTop.php index c268e1b..70d4d40 100755 --- a/snippets/navBarTop.php +++ b/snippets/navBarTop.php @@ -71,7 +71,7 @@ diff --git a/testpage.php b/testpage.php index 2a51d82..3d410ea 100755 --- a/testpage.php +++ b/testpage.php @@ -12,7 +12,7 @@ ?> - + <?php echo $application . " - " . $brand ;?>
+ Back to site +

Testpage

Icons

@@ -129,6 +131,7 @@
+