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
| There are three possible solutions: | |
| Do not use the core downloads element, which relies on the DBAFS. Program a custom module instead. | |
| Use the Dbafs::synchronize() method (Contao 3.1) in a daily cron job. | |
| Enhance the report generation script to register the new files in the DBAFS. You can use the Dbafs class (Contao 3.1) for this as well. |
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://getcomposer.org | |
| https://github.com/composer/composer | |
| https://packagist.org/ | |
| http://mkleine.de/blog/2013/08/29/mit-composer-und-github-arbeiten/ (inkl. wie in packagist veröffentlichen) | |
| http://blog-das-oertchen.de/archive/201303/php-composer-und-die-sache-mit-den-abhaengigkeiten | |
| http://www.php.de/php-einsteiger/98949-guide-composer-kickstart-guide.html | |
| http://de.slideshare.net/mayflowergmbh/php-dependency-und-paket-management-mit-composer | |
| http://www.ymc.ch/composer-dependency-management-fur-php | |
| http://blog.mayflower.de/866-Dependency-Management-mit-Composer.html |
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/blob/master/system/modules/core/library/Contao/Database/Statement.php#L266 | |
| Zeile remarken/löschen |
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 | |
| if ($this->addImage): | |
| $widthMid = round($this->arrSize[0] * .8); | |
| $heightMid = round($this->arrSize[1] * .8); | |
| $css = <<<EOF | |
| @media screen and (max-width: 1290px) { | |
| #img{$this->id} { | |
| width: {$widthMid}px; | |
| height: {$heightMid}px; |
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 | |
| error_reporting(E_ALL ^ E_NOTICE); | |
| $dbUser = ''; | |
| $dbData = ''; | |
| $dbPass = ''; | |
| $dbHost = ''; | |
| /** | |
| * DO NOT RUN THIS SCRIPT TWICE YET!!! |
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
| telnet towel.blinkenlights.nl | |
| Windows: tracert /h 254 obiwan.scrye.net. | |
| Linux/Mac: traceroute -m 254 -q1 obiwan.scrye.net. | |
| http://www.lindesbs.de/contao-hub/start.html |
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/issues/4622#issuecomment-23447915 |
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
| function url_get_contents ($Url) { | |
| if (!function_exists('curl_init')){ | |
| die('CURL is not installed!'); | |
| } | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $Url); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| $output = curl_exec($ch); | |
| curl_close($ch); | |
| return $output; |
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
| <Paratron> hier ist das plugin: http://rocksolidthemes.com/de/contao/plugins/custom-content-elements | |
| <Paratron> das hier ist zum beispiel eine config file die ich für ein Personenprofil angelegt habe: | |
| https://dl.dropboxusercontent.com/u/16384823/rsce_profil_config.json | |
| [16:57] <Paratron> nicht erschrecken, die hat einfach nur viele eingabefelder | |
| [16:58] <Paratron> so stellt sich das dann im backend dar: https://db.tt/wdA5PkWI | |
| [16:59] <Paratron> und das macht das template aus den angaben im backend: https://db.tt/JMAnySzJ |