You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| <?php | |
| /** | |
| * Copyright (c) 2013 Jean Bruenn | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: |
| /* ... basics ... | |
| -------------------------------------------------------------------------------------------------*/ | |
| nav { | |
| border: 1px solid #000; | |
| border-radius: 8px; | |
| float: left; | |
| } | |
| ul, | |
| li, | |
| a, |
| <?php $this->extend('fe_page'); ?> | |
| <?php $this->block('footer'); $this->endblock(); ?> | |
| <?php $this->block('body'); ?> | |
| <?php $this->parent(); ?> | |
| <?php if ($this->footer): ?> | |
| <footer id="footer"> | |
| <div class="inside"> | |
| <?php echo $this->footer; ?> | |
| </div> |
| <?php | |
| /* | |
| When updating from Contao 2 to Contao 3, you must not rename the tl_files folder to files! | |
| If you want to rename the folder, you have to take the following steps: | |
| · Complete the version 3 update in the install tool | |
| · Then rename the upload folder in the back end settings to files | |
| · Last run the modified version of Tristan's script |
| "isotope/isotope-core": "dev-develop#1ab3bfb62b99349d80722ffa05c4b9f7502cf003 as 2.1.3" |
| moved to repository https://github.com/fiedsch/contao-backup-script | |
| see also https://github.com/fiedsch/contao-4-backup-script (for Contao 4) |
| ## | |
| # New Apache 2.4 syntax | |
| ## | |
| # Prevent access to the Contao template files | |
| ## | |
| <FilesMatch "\.(tpl|html5|xhtml)$"> | |
| <IfModule !mod_authz_core.c> | |
| Order deny,allow | |
| Deny from all | |
| </IfModule> |
| index index.php index.html; | |
| location ~ ^/(favicon\.ico|robots\.txt)$ { | |
| allow all; | |
| log_not_found off; | |
| access_log off; | |
| } | |
| # don't show templates | |
| location ~* \.(tpl|html5|xhtml)$ { |
| <div id="tl_maintenance_index" class="maintenance_<?= $this->isActive ? 'active' : 'inactive' ?>"> | |
| <h2 class="sub_headline_index"><?= $this->indexHeadline ?></h2> | |
| <?php if ($this->indexMessage): ?> | |
| <div class="tl_message"> | |
| <p class="tl_error"><?= $this->indexMessage ?></p> | |
| </div> | |
| <?php endif; ?> |