This file contains 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
/* | |
Das Problem ist ja nur die constants.php die nicht gefunden wird und er dadurch ein Fehler anzeigt. | |
Ich habe daher auf meinem Server nur ein Link im Systemverzeichnis angelegt. | |
ln -s config/constants.php constants.php | |
Man müsste nun in /system/modules/c2gadmin/c2g_functions.php es irgendwie hinbekommen, das er an zwei stellen sucht und mit file_exists prüfen ob vorhanden. | |
Mal so, geht bestimmt noch schöner, in der loadVHostConfig: | |
*/ |
This file contains 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); | |
}); |
This file contains 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 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 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 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 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 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 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 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> |
OlderNewer