-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Se publica la versión actual del foro pero con los datos sensibles eliminados.
- Loading branch information
Showing
3,865 changed files
with
467,002 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
RewriteEngine on | ||
|
||
RewriteCond %{HTTP_REFERER} !^http://celicaspain.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://celicaspain.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://clubcelica.net/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://clubcelica.net$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://foro.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://foro.clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.celicaspain.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.celicaspain.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.net/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.net$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.foro.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^http://www.foro.clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://celicaspain.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://celicaspain.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://clubcelica.net/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://clubcelica.net$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://foro.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://foro.clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.celicaspain.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.celicaspain.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.es$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.net/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.net$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.foro.clubcelica.es/.*$ [NC] | ||
RewriteCond %{HTTP_REFERER} !^https://www.foro.clubcelica.es$ [NC] | ||
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm | ||
Options +FollowSymlinks | ||
RewriteEngine on | ||
##php_flag safe_mode off | ||
##php_flag display_errors off | ||
|
||
<IfModule mod_security.c> | ||
# Turn off mod_security filtering. SMF is a big boy, it doesn't need its hands held. | ||
SecFilterEngine Off | ||
|
||
# The below probably isn't needed, but better safe than sorry. | ||
SecFilterScanPOST Off | ||
</IfModule> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm | ||
Options +FollowSymlinks | ||
RewriteEngine on | ||
#php_flag safe_mode off | ||
#php_flag display_errors off | ||
|
||
<IfModule mod_security.c> | ||
# Turn off mod_security filtering. SMF is a big boy, it doesn't need its hands held. | ||
SecFilterEngine Off | ||
|
||
# The below probably isn't needed, but better safe than sorry. | ||
SecFilterScanPOST Off | ||
</IfModule> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
// If SSI.php is in the same place as this file, and SMF isn't defined, this is being run standalone. | ||
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF')) | ||
include_once(dirname(__FILE__) . '/SSI.php'); | ||
// Hmm... no SSI.php and no SMF? | ||
elseif (!defined('SMF')) | ||
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.'); | ||
|
||
// Upgrade the database if necessary | ||
db_extend('packages'); | ||
|
||
// Define each setting to be added | ||
$newSetting['aeiou_initial_subject'] = ''; // To store a custom initial subject message for the email, if blank revert to use | ||
// default txt string | ||
$newSetting['aeiou_initial_message'] = ''; // To store a custom initial message, if blank revert to use default txt string | ||
$newSetting['aeiou_final_subject'] = ''; // To store a custom final subject message for the email, if blank revert to use | ||
// default txt string | ||
$newSetting['aeiou_final_message'] = ''; // To store a custom final message, if blank revert to use default txt string | ||
|
||
// Cycle through array adding each new setting - if already exists, ignore | ||
foreach ($newSetting as $key => $value) | ||
$smcFunc['db_insert']('ignore', '{db_prefix}settings', | ||
array('variable' => 'string', 'value' => 'string'), | ||
array($key, $value), | ||
array('variable') | ||
); | ||
|
||
// Add the scheduled task setting - if already exists, ignore | ||
$smcFunc['db_insert']('ignore', '{db_prefix}scheduled_tasks', | ||
array('next_time' => 'int', 'time_offset' => 'int', 'time_regularity' => 'int', | ||
'time_unit' => 'string', 'disabled' => 'int', 'task' => 'string'), | ||
array(0, 0, 1, 'd', 1, 'email_inactive'), | ||
array('id_task') | ||
); | ||
|
||
// Delete settings used by the SMF 1.1.x version | ||
$delSetting[] = 'aeiou_enable'; | ||
$delSetting[] = 'aeiou_locktimestamp'; | ||
$delSetting[] = 'aeiou_hour_max'; | ||
$delSetting[] = 'aeiou_day_max'; | ||
$delSetting[] = 'aeiou_hour_sent'; | ||
$delSetting[] = 'aeiou_day_sent'; | ||
$delSetting[] = 'aeiou_chunksize'; | ||
$delSetting[] = 'aeiou_delete'; | ||
$delSetting[] = 'aeiou_underposts'; | ||
$delSetting[] = 'aeiou_stop'; | ||
$delSetting[] = 'aeiou_message'; | ||
$delSetting[] = 'aeiou_subject'; | ||
$delSetting[] = 'aeiou_lockkey'; | ||
|
||
// Cycle through array deleting each setting | ||
$smcFunc['db_query']('', ' | ||
DELETE FROM {db_prefix}settings | ||
WHERE variable IN ({array_string:variable})', | ||
array( | ||
'variable' => $delSetting | ||
) | ||
); | ||
|
||
// If we're using SSI, tell them we're done | ||
if(SMF == 'SSI') | ||
echo 'Database changes for the AEIOU mod are complete!'; | ||
|
||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="400" --> | ||
<!--#set var="reason" value="Bad Request" --> | ||
<!--#set var="msg" value="Your browser sent a request that this server could not understand:" --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="401" --> | ||
<!--#set var="reason" value="Unauthorized" --> | ||
<!--#set var="msg" value="The requested page requires authentication:" --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="403" --> | ||
<!--#set var="reason" value="Forbidden" --> | ||
<!--#set var="msg" value="Access is forbidden to the requested page:" --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="404" --> | ||
<!--#set var="reason" value="Not Found" --> | ||
<!--#set var="msg" value="The server cannot find the requested page:" --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="413" --> | ||
<!--#set var="reason" value="Request Entity Too Large" --> | ||
<!--#set var="msg" value="The request exceeds the capacity limit:" --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--#set var="code" value="500" --> | ||
<!--#set var="reason" value="Internal Server Error" --> | ||
<!--#set var="msg" value="The request was not completed. The server met an unexpected condition." --> | ||
<!--#include virtual="cp_errordocument.shtml" --> |
Empty file.
Empty file.
Oops, something went wrong.