copy messages and error500 fix
parent
d9f4fe96fd
commit
7a0c1a877b
|
|
@ -1,4 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
|
/* ===========================
|
||||||
|
|
||||||
|
gelato CMS - A PHP based tumblelog CMS
|
||||||
|
development version
|
||||||
|
http://www.gelatocms.com/
|
||||||
|
|
||||||
|
gelato CMS is a free software licensed under the GPL 2.0
|
||||||
|
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||||
|
|
||||||
|
=========================== */
|
||||||
|
?>
|
||||||
|
<?php
|
||||||
function initIdioma($lang = "en") {
|
function initIdioma($lang = "en") {
|
||||||
global $locale, $l10n;
|
global $locale, $l10n;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
ini_set('pcre.backtrack_limit', '10000');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
|
||||||
|
|
|
||||||
|
|
@ -44,3 +44,8 @@ Clase plantillas available under MIT license.
|
||||||
= Textile class =
|
= Textile class =
|
||||||
Copyright (c) Jim Riggs, http://jimandlissa.com/project/textilephp
|
Copyright (c) Jim Riggs, http://jimandlissa.com/project/textilephp
|
||||||
Textile class available under GNU General Public License.
|
Textile class available under GNU General Public License.
|
||||||
|
|
||||||
|
= PHP-gettext =
|
||||||
|
Copyright (c) 2003 Danilo Segan, http://savannah.nongnu.org/projects/php-gettext/
|
||||||
|
Copyright (c) 2005 Nico Kaiser
|
||||||
|
PHP-gettext available under GNU General Public License.
|
||||||
Loading…
Reference in New Issue