This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_message($this->getReadableSize(memory_get_usage()), 'memory.log'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Zugriff verbieten | |
<IfModule !mod_authz_core.c> | |
Order deny,allow | |
Deny from all | |
</IfModule> | |
<IfModule mod_authz_core.c> | |
Require all denied | |
</IfModule> | |
#Zugriff erlauben | |
<IfModule !mod_authz_core.c> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Contao 2 | |
if ($this->User->isAdmin) | |
{ | |
... | |
} | |
//Contao 4 | |
if (BackendUser::getInstance()->isAdmin) | |
{ | |
… |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/contao/core/commit/c75e2a9818541b851e38b8492250baf4cea56f79#commitcomment-2523886 | |
http://git-scm.com/book/de/Distributed-Git-An-einem-Projekt-mitarbeiten#Commit-Richtlinien | |
http://git-scm.com/book/de/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"view source" is your guide. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dir_iterator = new RecursiveDirectoryIterator("/path"); | |
$iterator = new RecursiveIteratorIterator($dir_iterator, RecursiveIteratorIterator::SELF_FIRST); | |
// could use CHILD_FIRST if you so wish | |
foreach ($iterator as $file) { | |
echo $file, "\n"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://drewish.com/tools/vertical-rhythm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://schnurpsel.de/bilderdiebe-was-ich-dagegen-tue-279/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Der newsreader hat seine eingene 404 Generierung. | |
Ich hätte gern dass bei nicht gefundenem Beitrag auf die News Lister Seite umgeleitet wird, so in der Art: | |
*/ | |
$this->redirect('zu neues.html', '301'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEvent("domready", function(){ | |
$("wrapper").setStyle('opacity',0); | |
$("wrapper").set('tween', {duration: 'long'}); | |
$("wrapper").tween('opacity', 1); | |
}); |