Explorar el Código

copy messages and error500 fix

pecesama hace 17 años
padre
commit
7a0c1a877b
Se han modificado 3 ficheros con 19 adiciones y 1 borrados
  1. 12 0
      classes/lang.functions.php
  2. 1 0
      config-sample.php
  3. 6 1
      notice.txt

+ 12 - 0
classes/lang.functions.php Ver fichero

1
 <?php
1
 <?php
2
+/* ===========================
3
+
4
+  gelato CMS - A PHP based tumblelog CMS
5
+  development version
6
+  http://www.gelatocms.com/
7
+
8
+  gelato CMS is a free software licensed under the GPL 2.0
9
+  Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
10
+
11
+  =========================== */
12
+?>
13
+<?php
2
 function initIdioma($lang = "en") {
14
 function initIdioma($lang = "en") {
3
 	global $locale, $l10n;
15
 	global $locale, $l10n;
4
 
16
 

+ 1 - 0
config-sample.php Ver fichero

27
 	header("Cache-Control: no-store, no-cache, must-revalidate");
27
 	header("Cache-Control: no-store, no-cache, must-revalidate");
28
 	header("Cache-Control: post-check=0, pre-check=0", false);
28
 	header("Cache-Control: post-check=0, pre-check=0", false);
29
 	header("Pragma: no-cache");
29
 	header("Pragma: no-cache");
30
+	ini_set('pcre.backtrack_limit', '10000');
30
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
31
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
31
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
32
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
32
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
33
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');

+ 6 - 1
notice.txt Ver fichero

43
 
43
 
44
 = Textile class =
44
 = Textile class =
45
 Copyright (c) Jim Riggs, http://jimandlissa.com/project/textilephp
45
 Copyright (c) Jim Riggs, http://jimandlissa.com/project/textilephp
46
-Textile class available under GNU General Public License.
46
+Textile class available under GNU General Public License.
47
+
48
+= PHP-gettext =
49
+Copyright (c) 2003 Danilo Segan, http://savannah.nongnu.org/projects/php-gettext/
50
+Copyright (c) 2005 Nico Kaiser
51
+PHP-gettext available under GNU General Public License.