Skip to content

Instantly share code, notes, and snippets.

View gist:1b0fbfe31b529287b2657a7e3a4b973c
### Keybase proof
I hereby claim:
* I am nxpthx on github.
* I am steffenritter (https://keybase.io/steffenritter) on keybase.
* I have a public key ASDb6u7uNm_orF_lCi5FbrV8fNPuk25GHFWUIRSO82VaPAo
To claim this, I am signing this object:
@nxpthx
nxpthx / gist:10978963
Created Apr 17, 2014
Login with redirect to access restricted page
View gist:10978963
plugin.tx_felogin_pi1 {
redirectDisable = 0
redirectMode = getpost
}
config {
typolinkCheckRootline=1
typolinkLinkAccessRestrictedPages = 245
typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
}
@nxpthx
nxpthx / fix.diff
Created Dec 14, 2013
Fix the Error about files needed to be indexed...
View fix.diff
diff --git a/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php b/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php
index 5e0af58..4b145f5 100644
--- a/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php
+++ b/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php
@@ -304,10 +304,9 @@ abstract class AbstractDriver {
* @param string $localFilePath
* @param Folder $targetFolder
* @param string $fileName The name to add the file under
- * @param \TYPO3\CMS\Core\Resource\AbstractFile $updateFileObject Optional file object to update (instead of creating a new object). With this parameter, this function can be used to "populate" a dummy file object with a real file underneath.
- * @return FileInterface
@nxpthx
nxpthx / gist:7924976
Created Dec 12, 2013
Make tt_address 6.2 usable
View gist:7924976
diff --git a/tt_address/class.tx_ttaddress_addfilestosel.php b/tt_address/class.tx_ttaddress_addfilestosel.php
index 1795a3e..28af23a 100644
--- a/tt_address/class.tx_ttaddress_addfilestosel.php
+++ b/tt_address/class.tx_ttaddress_addfilestosel.php
@@ -22,9 +22,6 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
-require_once(PATH_t3lib.'class.t3lib_page.php');
-require_once(PATH_t3lib.'class.t3lib_tstemplate.php');