]> git.pld-linux.org Git - packages/PHP-nuke.git/commitdiff
- outdated
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 17 Jul 2003 15:20:45 +0000 (15:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PHP-nuke-official_fix.patch -> 1.2
    PHP-nuke-official_security.patch -> 1.2

PHP-nuke-official_fix.patch [deleted file]
PHP-nuke-official_security.patch [deleted file]

diff --git a/PHP-nuke-official_fix.patch b/PHP-nuke-official_fix.patch
deleted file mode 100644 (file)
index 169e52e..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-diff -Naur PHP-Nuke-6.0/html/includes/counter.php PHP-Nuke-6.0.oden/html/includes/counter.php
---- PHP-Nuke-6.0/html/includes/counter.php     2002-09-16 01:40:28.000000000 -0400
-+++ PHP-Nuke-6.0.oden/html/includes/counter.php        2002-09-24 00:04:44.000000000 -0400
-@@ -70,18 +70,11 @@
-       sql_query("insert into ".$prefix."_stats_month values('$nowYear','$i','0')",$dbi);
-       if ($i == 1) $TotalDay = 31;
-       if ($i == 2) {
--          /*
-           if (date("L") == true) {
-               $TotalDay = 29;
-           } else {
-               $TotalDay = 28;
-           }
--          */
--          if (($nowYear % 4) == 0) {
--              $TotalDay = 28;
--          } else {
--              $TotalDay = 29;
--          }
-       }
-       if ($i == 3) $TotalDay = 31;
-       if ($i == 4) $TotalDay = 30;
-diff -Naur PHP-Nuke-6.0/html/includes/install.php PHP-Nuke-6.0.oden/html/includes/install.php
---- PHP-Nuke-6.0/html/includes/install.php     2002-09-16 01:46:47.000000000 -0400
-+++ PHP-Nuke-6.0.oden/html/includes/install.php        2002-09-23 23:50:00.000000000 -0400
-@@ -274,7 +274,7 @@
-   Version_Num varchar(10) NOT NULL default ''
- )", $dbi);
- // DO NOT REMOVE NOR CHANGE/EDIT THE FOLLOWING LINE BECAUSE IT CONTAINS COPYRIGHT INFORMATION. TO EDIT THESE VALUES GO TO THE ADMINISTRATION SYSTEM.
--mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\'http://phpnuke.org\' target=\'blank\'><img src=\'images/powered/nuke.gif\' border=\'0\' Alt=\'Web site powered by PHP-Nuke\' hspace=\'10\'></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\'backend.php\'><font class=\'footmsg_l\'>backend.php</font></a> or <a href=\'ultramode.txt\'><font class=\'footmsg_l\'>ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class=\'footmsg_l\'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\'footmsg_l\'>GNU/GPL license</font></a>.','6.0')", $dbi);
-+mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\"backend.php\"><font class=\"footmsg_l\">backend.php</font></a> or <a href=\"ultramode.txt\"><font class=\"footmsg_l\">ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.','6.0')", $dbi);
- /////////////////////////////////////////////
-@@ -926,8 +926,8 @@
- sql_query("CREATE TABLE ".$prefix."_pollcomments (
-   tid int(11) NOT NULL auto_increment,
--  pid int(11) default '0',
--  pollID int(11) default '0',
-+  pid int(11) NOT NULL default '0',
-+  pollID int(11) NOT NULL default '0',
-   date datetime default NULL,
-   name varchar(60) NOT NULL default '',
-   email varchar(60) default NULL,
-diff -Naur PHP-Nuke-6.0/sql/nuke.sql PHP-Nuke-6.0.oden/sql/nuke.sql
---- PHP-Nuke-6.0/sql/nuke.sql  2002-09-16 01:46:03.000000000 -0400
-+++ PHP-Nuke-6.0.oden/sql/nuke.sql     2002-09-23 23:48:38.000000000 -0400
-@@ -334,7 +334,7 @@
- # Dumping data for table 'nuke_config'
- #
--INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\'http://phpnuke.org\' target=\'blank\'><img src=\'images/powered/nuke.gif\' border=\'0\' Alt=\'Web site powered by PHP-Nuke\' hspace=\'10\'></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\'backend.php\'><font class=\'footmsg_l\'>backend.php</font></a> or <a href=\'ultramode.txt\'><font class=\'footmsg_l\'>ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class=\'footmsg_l\'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\'footmsg_l\'>GNU/GPL license</font></a>.','6.0');
-+INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\"backend.php\"><font class=\"footmsg_l\">backend.php</font></a> or <a href=\"ultramode.txt\"><font class=\"footmsg_l\">ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.','6.0');
- #
-@@ -1240,8 +1240,8 @@
- CREATE TABLE nuke_pollcomments (
-   tid int(11) NOT NULL auto_increment,
--  pid int(11) default '0',
--  pollID int(11) default '0',
-+  pid int(11) NOT NULL default '0',
-+  pollID int(11) NOT NULL default '0',
-   date datetime default NULL,
-   name varchar(60) NOT NULL default '',
-   email varchar(60) default NULL,
-diff -Naur PHP-Nuke-6.0/upgrades/upgrade56-60.php PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php
---- PHP-Nuke-6.0/upgrades/upgrade56-60.php     2002-09-16 01:44:53.000000000 -0400
-+++ PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php        2002-09-23 23:53:27.000000000 -0400
-@@ -63,9 +63,9 @@
- if ($adminmail == "") { $adminmail = "webmaster@yoursite.com"; }
- if ($anonpost == "") { $anonpost = 0; }
- if ($Default_Theme == "") { $Default_Theme = "NukeNews"; }
--if ($foot1 == "") { $foot1 = "<a href='http://phpnuke.org' target='blank'><img src='images/powered/nuke.gif' border='0' Alt='Web site powered by PHP-Nuke' hspace='10'></a>"; }
-+if ($foot1 == "") { $foot1 = "<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a>"; }
- if ($foot2 == "") { $foot2 = "All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by $sitename"; }
--if ($foot3 == "") { $foot3 = "You can syndicate our news using the file <a href='backend.php'>backend.php</a> or <a href='ultramode.txt'>ultramode.txt</a>"; }
-+if ($foot3 == "") { $foot3 = "You can syndicate our news using the file <a href=\"backend.php\">backend.php</a> or <a href=\"ultramode.txt\">ultramode.txt</a>"; }
- if ($commentlimit == "") { $commentlimit = 4096; }
- if ($anonymous == "") { $anonymous = "Anonymous"; }
- if ($minpass == "") { $minpass = 5; }
-@@ -93,7 +93,7 @@
- if ($httprefmax == "") { $httprefmax = 1000; }
- if ($CensorMode == "") { $CensorMode = 0; }
- if ($CensorReplace == "") { $CensorReplace = "*****"; }
--$copyright = "Web site engine's code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class='footmsg_l'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class='footmsg_l'>GNU/GPL license</font></a>.";
-+$copyright = "Web site engine\'s code is Copyright &copy; 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.";
- $broadcast_msg = 1;
- $my_headlines = 1;
- $user_news = 1;
diff --git a/PHP-nuke-official_security.patch b/PHP-nuke-official_security.patch
deleted file mode 100644 (file)
index 0665537..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -urN html.orig/index.php html/index.php
---- html.orig/index.php        Mon Sep 16 07:40:32 2002
-+++ html/index.php     Tue Feb  4 09:55:34 2003
-@@ -33,7 +33,7 @@
- }
- if (!isset($mop)) { $mop="modload"; }
- if (!isset($mod_file)) { $mod_file="index"; }
--if (ereg("\.\.",$name) || ereg("\.\.",$file)) {
-+if (ereg("\.\.",$name) || ereg("\.\.",$file) || ereg("\.\.", $mod_file) || ereg("\.\.", $mop)) {
-     echo "You are so cool...";
- } else {
-     $ThemeSel = get_theme();
-diff -urN html.orig/mainfile.php html/mainfile.php
---- html.orig/mainfile.php     Mon Sep 16 07:40:32 2002
-+++ html/mainfile.php  Tue Feb  4 09:54:43 2003
-@@ -1,5 +1,9 @@
- <?php
-+if (ereg("\\'",base64_decode($admin)) || ereg("\\'",base64_decode($user))) {
-+      die("I don't like you");
-+}
-+
- ob_start("ob_gzhandler");
- /************************************************************************/
-diff -urN html.orig/modules.php html/modules.php
---- html.orig/modules.php      Mon Sep 16 07:40:32 2002
-+++ html/modules.php   Tue Feb  4 11:05:44 2003
-@@ -28,6 +28,8 @@
-           $ThemeSel = get_theme();
-           if (file_exists("themes/$ThemeSel/modules/$name/$file.php")) {
-               $modpath = "themes/$ThemeSel/";
-+          } else {
-+              $modpath = "";
-           }
-           if ($view == 0) {
-               $modpath .= "modules/$name/$file.php";
This page took 0.138552 seconds and 4 git commands to generate.