diff --git a/index.php b/index.php
index 43d98a76ea36d06d047a85fde9669826e615cc7b..3c13487dbf2d373f99585e3e1749e29fd44e74b9 100644
--- a/index.php
+++ b/index.php
@@ -33,7 +33,7 @@
  * @author René Fritz <r.fritz@colorcube.de>
  */
 
-require 'typo3/sysext/core/Classes/Core/Bootstrap.php';
+require __DIR__ . '/typo3/sysext/core/Classes/Core/Bootstrap.php';
 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
 	->baseSetup('')
 	->redirectToInstallerIfLocalConfigurationFileDoesNotExist();
diff --git a/typo3/ajax.php b/typo3/ajax.php
index 3fd03d7a69d2e4e3d8fefb4a93e6d20db1470cf6..489654b6c0d9c777260a513edb483a733e75c3bb 100644
--- a/typo3/ajax.php
+++ b/typo3/ajax.php
@@ -53,7 +53,7 @@ if (in_array($ajaxID, $noUserAjaxIDs)) {
 	define('TYPO3_PROCEED_IF_NO_USER', 2);
 }
 
-require 'init.php';
+require __DIR__ . '/init.php';
 
 // finding the script path from the variable
 $ajaxScript = $TYPO3_CONF_VARS['BE']['AJAX'][$ajaxID];
diff --git a/typo3/alt_clickmenu.php b/typo3/alt_clickmenu.php
index 3983a6c204543cc07ea28404119f66e12abcdb3d..b540711214e9b7bb425b691027cc713351ea04fc 100644
--- a/typo3/alt_clickmenu.php
+++ b/typo3/alt_clickmenu.php
@@ -38,7 +38,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $clickMenuController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ClickMenuController');
 
@@ -52,4 +52,4 @@ foreach ($SOBE->include_once as $INC_FILE) {
 
 $clickMenuController->main();
 $clickMenuController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/alt_doc_nodoc.php b/typo3/alt_doc_nodoc.php
index bd2e23d62bd0f26fb8179e69bf7d06065d91f442..7e1eba2bd1ebb14481c74aced13766ed19eda772 100644
--- a/typo3/alt_doc_nodoc.php
+++ b/typo3/alt_doc_nodoc.php
@@ -32,9 +32,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $noDocumentsOpenController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Backend\Controller\NoDocumentsOpenController');
 $noDocumentsOpenController->main();
 $noDocumentsOpenController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/alt_shortcut.php b/typo3/alt_shortcut.php
index de55bee6a737bda21d94076619fcf1deb5c6abee..8456d6a9ed01bea19f76b9d9d18b262d11a04631 100644
--- a/typo3/alt_shortcut.php
+++ b/typo3/alt_shortcut.php
@@ -33,11 +33,11 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $shortcutFrameController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ShortcutFrameController');
 $shortcutFrameController->preprocess();
 $shortcutFrameController->init();
 $shortcutFrameController->main();
 $shortcutFrameController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/browse_links.php b/typo3/browse_links.php
index 3adce0ca7f5ac61b0beb4cc79f439f1f1bd2eb97..fe210918942eb3061a6484c9a525e96724125eb5 100644
--- a/typo3/browse_links.php
+++ b/typo3/browse_links.php
@@ -32,9 +32,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $elementBrowserController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserController');
 $elementBrowserController->main();
 $elementBrowserController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/browser.php b/typo3/browser.php
index 361398fb4fe05bf2c1497dafd3721aa93d33aa72..b11d0cc28311f25be8614c9a7d0c76939d8c663e 100644
--- a/typo3/browser.php
+++ b/typo3/browser.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $elementBrowserFramesetController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserFramesetController');
 $elementBrowserFramesetController->main();
diff --git a/typo3/db_new.php b/typo3/db_new.php
index b0131b73dc045760152a140b185d7fa48fa508a1..809b0a48805ef09b6c04fb27a1841ad818e67cbd 100644
--- a/typo3/db_new.php
+++ b/typo3/db_new.php
@@ -33,7 +33,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 /**
  * Extension for the tree class that generates the tree of pages in the page-wizard mode
@@ -70,4 +70,4 @@ class localPageTree extends \TYPO3\CMS\Backend\Tree\View\PageTreeView {
 $newRecordController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\NewRecordController');
 $newRecordController->main();
 $newRecordController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/dummy.php b/typo3/dummy.php
index ef175ccaae00edc829c9f3a9dda040b8fc45a1d2..0045a467a5d095b6debf73a20478d4838504f8d0 100644
--- a/typo3/dummy.php
+++ b/typo3/dummy.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $dummyController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\DummyController');
 $dummyController->main();
diff --git a/typo3/file_edit.php b/typo3/file_edit.php
index ea24e7b982a412df6831f0d996f3b79216abc27c..33b6d1d313aaa5f502b2a2edc3e58cbc7164a46d 100644
--- a/typo3/file_edit.php
+++ b/typo3/file_edit.php
@@ -30,9 +30,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $editFileController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\EditFileController');
 $editFileController->main();
 $editFileController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/file_newfolder.php b/typo3/file_newfolder.php
index 1f35dcd0617a2599fcfe8dc5f2a2bbd8f6ee304d..3b0263999e202a51f919737e41fbc0b6775c4982 100644
--- a/typo3/file_newfolder.php
+++ b/typo3/file_newfolder.php
@@ -30,9 +30,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $createFolderController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\CreateFolderController');
 $createFolderController->main();
 $createFolderController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/file_rename.php b/typo3/file_rename.php
index d559706cee963f23d1f03ab1a7eeb3d3829239e1..e3f378552b47fb8ee65753aa342766da492ee649 100644
--- a/typo3/file_rename.php
+++ b/typo3/file_rename.php
@@ -30,9 +30,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $renameFileController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\RenameFileController');
 $renameFileController->main();
 $renameFileController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/file_upload.php b/typo3/file_upload.php
index 29ed1995476cc1b18f15b1c050774cfdcecebdaa..f6bb819a04f54d3e08d4640f645d5ee2b97073c9 100644
--- a/typo3/file_upload.php
+++ b/typo3/file_upload.php
@@ -30,9 +30,9 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $fileUploadController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\FileUploadController');
 $fileUploadController->main();
 $fileUploadController->printContent();
-?>
\ No newline at end of file
+?>
diff --git a/typo3/index.php b/typo3/index.php
index 6ec242dc59031ace2ae83744184f9df9c995a8bb..b261c64ccee571a08eaa28791c18ee3466820b46 100644
--- a/typo3/index.php
+++ b/typo3/index.php
@@ -31,7 +31,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 define('TYPO3_PROCEED_IF_NO_USER', 1);
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $loginController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\LoginController');
 $loginController->main();
diff --git a/typo3/init.php b/typo3/init.php
index 70dcd941bcdacf60cb6ccfcce41cd0c05eae39ca..edfb16b3f485bc82586a35a21164473eda68ead7 100644
--- a/typo3/init.php
+++ b/typo3/init.php
@@ -52,7 +52,7 @@
  */
 define('TYPO3_MODE', 'BE');
 
-require 'sysext/core/Classes/Core/Bootstrap.php';
+require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
 
 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
 	->baseSetup('typo3/')
diff --git a/typo3/listframe_loader.php b/typo3/listframe_loader.php
index cedbe6117c4a9530c62a65e077f2ac32d725ab1d..886085e90f8e49728664d7dc7687141134487a67 100644
--- a/typo3/listframe_loader.php
+++ b/typo3/listframe_loader.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $listFrameLoaderController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ListFrameLoaderController');
 $listFrameLoaderController->main();
diff --git a/typo3/login_frameset.php b/typo3/login_frameset.php
index 0294b78473feb54f80a8f94ed4e1091216cf5112..bb1dc8a3fc3589f62595e822666806675906a73f 100644
--- a/typo3/login_frameset.php
+++ b/typo3/login_frameset.php
@@ -33,7 +33,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 define('TYPO3_PROCEED_IF_NO_USER', 1);
-require 'init.php';
+require __DIR__ . '/init.php';
 
 // Make instance:
 $loginFramesetController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\LoginFramesetController');
diff --git a/typo3/logout.php b/typo3/logout.php
index 47807ee52cec32eec02e70337b82a7563c2a8494..def46ad47b9bd1d2e6cba0ebbfc7a8d0a2d467a3 100644
--- a/typo3/logout.php
+++ b/typo3/logout.php
@@ -31,7 +31,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $logoutController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\LogoutController');
 $logoutController->logout();
diff --git a/typo3/mod.php b/typo3/mod.php
index 08a935a038d63e5c815fdfb5af03e657aadadaaa..4042ece274c2108a9643a907098b53b8fd109960 100644
--- a/typo3/mod.php
+++ b/typo3/mod.php
@@ -30,7 +30,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 unset($MCONF);
-require 'init.php';
+require __DIR__ . '/init.php';
 // Find module path:
 $temp_M = (string) \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('M');
 $isDispatched = FALSE;
diff --git a/typo3/move_el.php b/typo3/move_el.php
index 578adf35cce77f2975275cf93e9dbf787b77d8f7..8c8bc9e8c21e4169beb7d94209f606a9c9401eb2 100644
--- a/typo3/move_el.php
+++ b/typo3/move_el.php
@@ -31,7 +31,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 /**
  * Local extension of the page tree class
diff --git a/typo3/show_item.php b/typo3/show_item.php
index 63cb9c4b099af0514c7269b232c6b8ec34d8febb..02b8addff0c422afc61c4092fb82d98d69558ca6 100644
--- a/typo3/show_item.php
+++ b/typo3/show_item.php
@@ -25,7 +25,7 @@
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $elementInformationController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
 	'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementInformationController'
diff --git a/typo3/show_rechis.php b/typo3/show_rechis.php
index b56be556112bf1ef1a9649d241d09f0f844fd071..9f417e52f39ae64d0cb4dd866549fb9fe627b082 100644
--- a/typo3/show_rechis.php
+++ b/typo3/show_rechis.php
@@ -30,7 +30,7 @@
  *
  * @author 	Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $elementHistoryController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementHistoryController');
 $elementHistoryController->main();
diff --git a/typo3/sysext/cms/layout/db_layout.php b/typo3/sysext/cms/layout/db_layout.php
index 0ed854a83b25db8b56e0c09a8d35d95fc839a86f..d557db629cb7184c272162d4ccb94fd8caca84b5 100755
--- a/typo3/sysext/cms/layout/db_layout.php
+++ b/typo3/sysext/cms/layout/db_layout.php
@@ -35,7 +35,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:cms/layout/locallang.xlf');
 
diff --git a/typo3/sysext/cms/layout/db_new_content_el.php b/typo3/sysext/cms/layout/db_new_content_el.php
index 83073fd0be9c060a296b9f8d185200331aa1f686..427a99d14574fcbb916e059e24de68ad075ad057 100644
--- a/typo3/sysext/cms/layout/db_new_content_el.php
+++ b/typo3/sysext/cms/layout/db_new_content_el.php
@@ -34,7 +34,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 // Unset MCONF/MLANG since all we wanted was back path etc. for this particular script.
 unset($MCONF);
diff --git a/typo3/sysext/core/Classes/Core/Bootstrap.php b/typo3/sysext/core/Classes/Core/Bootstrap.php
index 3e85c46f05adbc284430229272e715b738b5f1f3..54114aebdfa9abbbc0e004d8935bb73d7f2da549 100644
--- a/typo3/sysext/core/Classes/Core/Bootstrap.php
+++ b/typo3/sysext/core/Classes/Core/Bootstrap.php
@@ -29,7 +29,7 @@ namespace TYPO3\CMS\Core\Core;
 
 use \TYPO3\CMS\Core\Utility;
 
-require 'SystemEnvironmentBuilder.php';
+require __DIR__ . '/SystemEnvironmentBuilder.php';
 
 /**
  * This class encapsulates bootstrap related methods.
diff --git a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionMssqlTest.php b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionMssqlTest.php
index eb7877069ee24ff97d9a05a4f71312399600c755..5319a7af30d2cd70c43332c2a9e449a4a6014ea0 100644
--- a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionMssqlTest.php
+++ b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionMssqlTest.php
@@ -27,7 +27,7 @@ class DatabaseConnectionMssqlTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 		// Backup database connection
 		$this->db = $GLOBALS['TYPO3_DB'];
 		// Reconfigure DBAL to use MS SQL
-		require 'Fixtures/mssql.config.php';
+		require __DIR__ . '/Fixtures/mssql.config.php';
 		$className = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection');
 		$GLOBALS['TYPO3_DB'] = new $className();
 		$parserClassName = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\SqlParser');
diff --git a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php
index 5e4b7d070542239b1bd5006fa87bfba92ba1f064..3e163e40de94e05121a8bcb7b5b81844065fd758 100644
--- a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php
+++ b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php
@@ -27,7 +27,7 @@ class DatabaseConnectionOracleTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 		// Backup database connection
 		$this->db = $GLOBALS['TYPO3_DB'];
 		// Reconfigure DBAL to use Oracle
-		require 'Fixtures/oci8.config.php';
+		require __DIR__ . '/Fixtures/oci8.config.php';
 		$className = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection');
 		$GLOBALS['TYPO3_DB'] = new $className();
 		$parserClassName = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\SqlParser');
diff --git a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionPostgresqlTest.php b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionPostgresqlTest.php
index ec90bb30b5a76a372bdefee4e9ecb0600b1d6e76..d70f22f7594df8a582dfd90d48699ba2aa630d7b 100644
--- a/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionPostgresqlTest.php
+++ b/typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionPostgresqlTest.php
@@ -27,7 +27,7 @@ class DatabaseConnectionPostgresqlTest extends \TYPO3\CMS\Core\Tests\UnitTestCas
 		// Backup database connection
 		$this->db = $GLOBALS['TYPO3_DB'];
 		// Reconfigure DBAL to use PostgreSQL
-		require 'Fixtures/postgresql.config.php';
+		require __DIR__ . '/Fixtures/postgresql.config.php';
 		$className = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection');
 		$GLOBALS['TYPO3_DB'] = new $className();
 		$parserClassName = self::buildAccessibleProxy('TYPO3\\CMS\\Dbal\\Database\\SqlParser');
diff --git a/typo3/sysext/func/mod1/index.php b/typo3/sysext/func/mod1/index.php
index 5c75793c6f65dc9507f31d75ba176fc14a532e74..8c4ac8a1c0735dc89b2961b804814cdfeacac60f 100755
--- a/typo3/sysext/func/mod1/index.php
+++ b/typo3/sysext/func/mod1/index.php
@@ -34,7 +34,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:lang/locallang_mod_web_func.xlf');
 $BE_USER->modAccess($MCONF, 1);
diff --git a/typo3/sysext/impexp/app/index.php b/typo3/sysext/impexp/app/index.php
index 11c81fd9bc8e569f7e14b595ce0e02bb0bcd150c..82e0f3d6acb96b7d39bf61e8be5bd73b4a41f9f1 100755
--- a/typo3/sysext/impexp/app/index.php
+++ b/typo3/sysext/impexp/app/index.php
@@ -61,7 +61,7 @@
  * external_ref[tables][]=table/_ALL
  */
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require_once $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:impexp/app/locallang.xlf');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('impexp', 1);
diff --git a/typo3/sysext/info/mod1/index.php b/typo3/sysext/info/mod1/index.php
index e64befd24c414ff72558641719f65b330d79025d..9ae1ccad886924adf52ea17540a201ef72907c6f 100755
--- a/typo3/sysext/info/mod1/index.php
+++ b/typo3/sysext/info/mod1/index.php
@@ -34,7 +34,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:lang/locallang_mod_web_info.xlf');
 $BE_USER->modAccess($MCONF, 1);
diff --git a/typo3/sysext/install/Start/Install.php b/typo3/sysext/install/Start/Install.php
index f3b7b8f1321e6fcdcd2da8c987c9f22b81b5de15..9f5fcca249538030ec1465e3aac803aaa86f4429 100644
--- a/typo3/sysext/install/Start/Install.php
+++ b/typo3/sysext/install/Start/Install.php
@@ -105,7 +105,7 @@ define('TYPO3_MODE', 'BE');
 define('TYPO3_enterInstallScript', '1');
 
 // Bootstrap bare minimum: class loader, LocalConfiguration, but no extensions and such
-require '../../core/Classes/Core/Bootstrap.php';
+require __DIR__ . '/../../core/Classes/Core/Bootstrap.php';
 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
 	->baseSetup('typo3/sysext/install/Start/')
 	->startOutputBuffering()
diff --git a/typo3/sysext/rtehtmlarea/mod3/browse_links.php b/typo3/sysext/rtehtmlarea/mod3/browse_links.php
index f283ab5fc63dcb5e29f85c7d404e9f9ef14e26aa..5ce9433a2bd90095946cd4980c1d6bb8e3cf94fc 100644
--- a/typo3/sysext/rtehtmlarea/mod3/browse_links.php
+++ b/typo3/sysext/rtehtmlarea/mod3/browse_links.php
@@ -37,7 +37,7 @@
  */
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:rtehtmlarea/mod3/locallang.xlf');
 $LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xlf');
diff --git a/typo3/sysext/rtehtmlarea/mod4/select_image.php b/typo3/sysext/rtehtmlarea/mod4/select_image.php
index 26e9837edb32b20680b3f963b2018943f0425260..d539f26ee8a0418fb56b5338635009fdfa72c7ea 100644
--- a/typo3/sysext/rtehtmlarea/mod4/select_image.php
+++ b/typo3/sysext/rtehtmlarea/mod4/select_image.php
@@ -33,7 +33,7 @@
  */
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:lang/locallang_TYPO3\\CMS\\Recordlist\\Browser\\ElementBrowser.xlf');
 $LANG->includeLLFile('EXT:rtehtmlarea/mod4/locallang.xlf');
diff --git a/typo3/sysext/rtehtmlarea/mod5/user.php b/typo3/sysext/rtehtmlarea/mod5/user.php
index 2ecb0c0f2ca0efd1dc56221d9b0af9c734fb85df..0008f4825448025794a5c7078a713aa08cd6c0f4 100644
--- a/typo3/sysext/rtehtmlarea/mod5/user.php
+++ b/typo3/sysext/rtehtmlarea/mod5/user.php
@@ -33,7 +33,7 @@
  */
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $LANG->includeLLFile('EXT:rtehtmlarea/mod5/locallang.xlf');
 $LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xlf');
diff --git a/typo3/sysext/rtehtmlarea/mod6/parse_html.php b/typo3/sysext/rtehtmlarea/mod6/parse_html.php
index eaad179fd200359bee1226f87cd1448d5dbc110b..b0311596b6fabc4b7c239118bd1ec2e2912f7bfd 100644
--- a/typo3/sysext/rtehtmlarea/mod6/parse_html.php
+++ b/typo3/sysext/rtehtmlarea/mod6/parse_html.php
@@ -31,7 +31,7 @@
  */
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 // Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Rtehtmlarea\\ContentParser');
diff --git a/typo3/sysext/version/cm1/index.php b/typo3/sysext/version/cm1/index.php
index 768437dc283b4df635cface46367566c4c23327e..44b28c84955689c2f9c344c9df4c1527f5cd6567 100755
--- a/typo3/sysext/version/cm1/index.php
+++ b/typo3/sysext/version/cm1/index.php
@@ -23,7 +23,7 @@
  ***************************************************************/
 
 unset($MCONF);
-require 'conf.php';
+require __DIR__ . '/conf.php';
 require $BACK_PATH . 'init.php';
 $GLOBALS['LANG']->includeLLFile('EXT:version/locallang.xlf');
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Version\\Controller\\VersionModuleController');
diff --git a/typo3/tce_db.php b/typo3/tce_db.php
index 4e0b4d484f0926dc2c0ac32f90f8f9cbc909742e..a8a374aceadae6424a4a2665e7e5cefc58dcadd4 100644
--- a/typo3/tce_db.php
+++ b/typo3/tce_db.php
@@ -33,7 +33,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $simpleDataHandlerController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\SimpleDataHandlerController');
 
diff --git a/typo3/tce_file.php b/typo3/tce_file.php
index 426a8953dbec1044acd63d76e3389ee0ee20e123..74c3f603ac0129e356e55e1a858bca1af3448dcf 100644
--- a/typo3/tce_file.php
+++ b/typo3/tce_file.php
@@ -34,7 +34,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $fileController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\FileController');
 $fileController->main();
diff --git a/typo3/thumbs.php b/typo3/thumbs.php
index 9750fe286029ee3ad10aa0228d9a3dc33a06d9e6..57f32ea673b227f5d3156f25e6e8ee252b678bdf 100644
--- a/typo3/thumbs.php
+++ b/typo3/thumbs.php
@@ -33,7 +33,7 @@
 
 // Set error reporting
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
-require 'init.php';
+require __DIR__ . '/init.php';
 
 // Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\View\\ThumbnailView');
diff --git a/typo3/wizard_add.php b/typo3/wizard_add.php
index 3dbe0b720e38609933f6c48b83b9fa2bc6235236..d0266f149c98fa963ebac930a502a5dbf9813931 100644
--- a/typo3/wizard_add.php
+++ b/typo3/wizard_add.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $addController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\AddController');
 $addController->main();
diff --git a/typo3/wizard_colorpicker.php b/typo3/wizard_colorpicker.php
index 8afa8b0b1e57ffbe4e25c3f9b4a91f1a830f5821..6c54ce781f19ec8a8128281a9079dad91fb9df1e 100644
--- a/typo3/wizard_colorpicker.php
+++ b/typo3/wizard_colorpicker.php
@@ -32,7 +32,7 @@
  * @author Peter Kühn <peter@kuehn.com>
  * @author Kasper Skårhøj <typo3@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $colorpickerController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\ColorpickerController');
 $colorpickerController->main();
diff --git a/typo3/wizard_edit.php b/typo3/wizard_edit.php
index 5ea856fff50a9a4bd7c85f79c3d81221a6f659f3..c84f3760e7ec484025630280c3f366b9e11b4906 100644
--- a/typo3/wizard_edit.php
+++ b/typo3/wizard_edit.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $editController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\EditController');
 $editController->main();
diff --git a/typo3/wizard_forms.php b/typo3/wizard_forms.php
index 091ee98e6c419f6d9b925419f6ee2bfbf248ccaf..277aacf861c29150b911fb5977402e8f4036bdad 100644
--- a/typo3/wizard_forms.php
+++ b/typo3/wizard_forms.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $formsController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\FormsController');
 $formsController->main();
diff --git a/typo3/wizard_list.php b/typo3/wizard_list.php
index 57414ab4c72593ff9e8e7239b57264a2c18ad6d8..04723d5b710722f862b996d42b2ec92a1481dc69 100644
--- a/typo3/wizard_list.php
+++ b/typo3/wizard_list.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $listController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\ListController');
 $listController->main();
diff --git a/typo3/wizard_rte.php b/typo3/wizard_rte.php
index c74bbc3d3a592042a7c7176543e937b687a057ed..360178363d7fc507d4f1f6ca7793951ead90f89b 100644
--- a/typo3/wizard_rte.php
+++ b/typo3/wizard_rte.php
@@ -30,7 +30,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 \TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords();
 
 $rteController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController');
diff --git a/typo3/wizard_table.php b/typo3/wizard_table.php
index b2f25ac5aafa2d0e61d8327132bfc265af011f19..09d848a61a18290d8f4a165d8187e2d3297cf0e4 100644
--- a/typo3/wizard_table.php
+++ b/typo3/wizard_table.php
@@ -31,7 +31,7 @@
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
+require __DIR__ . '/init.php';
 
 $tableController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\TableController');
 $tableController->main();