Browse Source

copy messages and error500 fix

pecesama 17 years ago
parent
commit
7a0c1a877b
3 changed files with 19 additions and 1 deletions
  1. 12 0
      classes/lang.functions.php
  2. 1 0
      config-sample.php
  3. 6 1
      notice.txt

+ 12 - 0
classes/lang.functions.php View File

@@ -1,4 +1,16 @@
1 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 14
 function initIdioma($lang = "en") {
3 15
 	global $locale, $l10n;
4 16
 

+ 1 - 0
config-sample.php View File

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

+ 6 - 1
notice.txt View File

@@ -43,4 +43,9 @@ Clase plantillas available under MIT license.
43 43
 
44 44
 = Textile class =
45 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.