diff --git a/bin/dbmaint.php b/bin/dbmaint.php
index 49777c6..b40bd9c 100644
--- a/bin/dbmaint.php
+++ b/bin/dbmaint.php
@@ -54,5 +54,5 @@ if(!empty($tables)){
}
$default->log->info('Done.');
-
+exit;
?>
\ No newline at end of file
diff --git a/bin/expungeall.php b/bin/expungeall.php
index a856833..d60a157 100644
--- a/bin/expungeall.php
+++ b/bin/expungeall.php
@@ -8,31 +8,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*/
@@ -100,4 +100,5 @@ $end_time = time();
$diff = $end_time - $start_time;
$session->logout();
+exit;
?>
diff --git a/plugins/housekeeper/bin/UpdateStats.php b/plugins/housekeeper/bin/UpdateStats.php
index 9d0fb76..a74c788 100644
--- a/plugins/housekeeper/bin/UpdateStats.php
+++ b/plugins/housekeeper/bin/UpdateStats.php
@@ -44,4 +44,5 @@ require_once('../HouseKeeper.inc.php');
HouseKeeper::getDiskUsageStats();
HouseKeeper::getKTUsageStats();
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronCleanup.php b/search2/bin/cronCleanup.php
index 48ee585..d218a7f 100644
--- a/search2/bin/cronCleanup.php
+++ b/search2/bin/cronCleanup.php
@@ -81,5 +81,5 @@ function cleanupTempDirectory($dir, $force = false)
}
-
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronIndexStats.php b/search2/bin/cronIndexStats.php
index 32d4ec2..41057cc 100644
--- a/search2/bin/cronIndexStats.php
+++ b/search2/bin/cronIndexStats.php
@@ -49,3 +49,6 @@ if ($verbose) print _kt("Cache index stats and diagnostics") . "...\n";
$indexer = Indexer::get();
$indexer->updateIndexStats();
+
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronIndexer.php b/search2/bin/cronIndexer.php
index 3d917f2..1eebb5f 100644
--- a/search2/bin/cronIndexer.php
+++ b/search2/bin/cronIndexer.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -42,5 +42,5 @@ require_once(realpath('../../config/dmsDefaults.php'));
KTUtil::call_page('search2/indexing/bin/cronIndexer.php');
-
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronMigration.php b/search2/bin/cronMigration.php
index 8d0432c..30c2d1a 100644
--- a/search2/bin/cronMigration.php
+++ b/search2/bin/cronMigration.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -42,4 +42,5 @@ require_once(realpath('../../config/dmsDefaults.php'));
KTUtil::call_page('search2/indexing/bin/cronMigration.php');
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronOptimize.php b/search2/bin/cronOptimize.php
index cd3bc3c..d19fff0 100644
--- a/search2/bin/cronOptimize.php
+++ b/search2/bin/cronOptimize.php
@@ -39,5 +39,5 @@
require_once('optimise.php');
-
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/cronResources.php b/search2/bin/cronResources.php
index 56cc96d..f21eb5f 100644
--- a/search2/bin/cronResources.php
+++ b/search2/bin/cronResources.php
@@ -95,4 +95,5 @@ class ResourceChecker
$checker = new ResourceChecker();
$checker->check();
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/bin/optimise.php b/search2/bin/optimise.php
index 571664e..1e69f7c 100644
--- a/search2/bin/optimise.php
+++ b/search2/bin/optimise.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -42,5 +42,5 @@ require_once(realpath('../../config/dmsDefaults.php'));
KTUtil::call_page('search2/indexing/bin/optimise.php');
-
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/cronIndexer.php b/search2/indexing/bin/cronIndexer.php
index 1e85f9e..e1b3015 100755
--- a/search2/indexing/bin/cronIndexer.php
+++ b/search2/indexing/bin/cronIndexer.php
@@ -50,5 +50,6 @@ require_once('indexing/indexerCore.inc.php');
$indexer = Indexer::get();
$indexer->indexDocuments();
$indexer->updateIndexStats();
+
exit;
-?>
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/cronMigration.php b/search2/indexing/bin/cronMigration.php
index 616a72b..b965ae7 100644
--- a/search2/indexing/bin/cronMigration.php
+++ b/search2/indexing/bin/cronMigration.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -51,4 +51,4 @@ $indexer = Indexer::get();
$indexer->migrateDocuments();
exit;
-?>
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/cronOptimize.php b/search2/indexing/bin/cronOptimize.php
index f9e8d0c..d19fff0 100644
--- a/search2/indexing/bin/cronOptimize.php
+++ b/search2/indexing/bin/cronOptimize.php
@@ -39,4 +39,5 @@
require_once('optimise.php');
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/optimise.php b/search2/indexing/bin/optimise.php
index 9038582..08fa9d4 100755
--- a/search2/indexing/bin/optimise.php
+++ b/search2/indexing/bin/optimise.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -58,4 +58,5 @@ $indexer->optimise();
if ($verbose) print _kt("Done.") . "\n";
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/recreateIndex.php b/search2/indexing/bin/recreateIndex.php
index 6663e99..f2e9fab 100755
--- a/search2/indexing/bin/recreateIndex.php
+++ b/search2/indexing/bin/recreateIndex.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -107,5 +107,5 @@ if ($indexall)
print _kt("Done.") . "\n";
-
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/registerTypes.php b/search2/indexing/bin/registerTypes.php
index 65051b9..dadef7b 100755
--- a/search2/indexing/bin/registerTypes.php
+++ b/search2/indexing/bin/registerTypes.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -84,4 +84,5 @@ $indexer = Indexer::get();
$indexer->registerTypes($clear);
print _kt("Done.") . "\n";
+exit;
?>
diff --git a/search2/indexing/bin/reportUnindexedDocuments.php b/search2/indexing/bin/reportUnindexedDocuments.php
index 88cc157..c403a96 100644
--- a/search2/indexing/bin/reportUnindexedDocuments.php
+++ b/search2/indexing/bin/reportUnindexedDocuments.php
@@ -125,4 +125,5 @@ else
print "-----END-----\n\nDone\n";
}
-?>
+exit;
+?>
\ No newline at end of file
diff --git a/search2/indexing/bin/shutdown.php b/search2/indexing/bin/shutdown.php
index 87671f4..b7bd87c 100644
--- a/search2/indexing/bin/shutdown.php
+++ b/search2/indexing/bin/shutdown.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008, 2009 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
- *
- * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
+ *
+ * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
* California 94120-7775, or email info@knowledgetree.com.
- *
+ *
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
- *
+ *
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
- * KnowledgeTree" logo and retain the original copyright notice. If the display of the
+ * KnowledgeTree" logo and retain the original copyright notice. If the display of the
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
- * must display the words "Powered by KnowledgeTree" and retain the original
+ * must display the words "Powered by KnowledgeTree" and retain the original
* copyright notice.
* Contributor( s): ______________________________________
*
@@ -86,5 +86,5 @@ print "\n* " . _kt("The request to shutdown has been sent to the server. It may
print _kt("Done.") . "\n";
-
-?>
+exit;
+?>
\ No newline at end of file