Index: branches/unlabeled/unlabeled-1.1.2/kernel/include/obscure.php =================================================================== diff -u -r6981 -r7308 --- branches/unlabeled/unlabeled-1.1.2/kernel/include/obscure.php (.../obscure.php) (revision 6981) +++ branches/unlabeled/unlabeled-1.1.2/kernel/include/obscure.php (.../obscure.php) (revision 7308) @@ -1,4 +1,4 @@ -#!/usr/local/bin/php +#!/usr/bin/php $attr) { $line = $code[$x]; @@ -149,13 +149,13 @@ } } } - + for($x=0;$x0) { if(substr($line,$p,2)!="$$") @@ -168,29 +168,29 @@ $variables[$name] = '$_'.gen_name($VarCount++); } } - $p = strpos($line,"$",$p+1); - } - } - + $p = strpos($line,"$",$p+1); + } + } + for($x=0;$x$varname) - { + { //echo "strpos ".$code[$x].', '.$v."\n"; $p = strpos($code[$x],$v); while(is_numeric($p)) { $t = GetVarName(substr($code[$x],$p)); if('$'.$t == $v) - { + { $code[$x] = substr_replace($code[$x],$varname,$p,strlen($t)+1); } $p = strpos($code[$x],$v,$p+1); } - } + } } - + $o = "function $NewName"."("; if (is_array($a)) { foreach($a as $attr) @@ -207,24 +207,24 @@ //$o = str_replace("\n","",$o); return $o; } - + $out = ""; $outline = 0; - + $shuffled = array_rand($functions, count($functions)); // print_r($shuffled); foreach ($shuffled as $name) { $pos = $functions[$name]; - + //foreach($functions as $name =>$pos) //{ $dest = $pos["start"]; $newname = $pos["newname"]; if(!$outline) $outline = $dest; - + unset($code); for($x=$dest+1;$x<=$pos["end"];$x++) { @@ -237,10 +237,10 @@ { for($x=$pos["start"];$x<=$pos["end"];$x++) { - $php[$x] = ""; + $php[$x] = ""; } } - + $code =array(); for($x=0;$x Index: branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/changelog_1_4_0.txt =================================================================== diff -u -r7303 -r7308 --- branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/changelog_1_4_0.txt (.../changelog_1_4_0.txt) (revision 7303) +++ branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/changelog_1_4_0.txt (.../changelog_1_4_0.txt) (revision 7308) @@ -25,7 +25,7 @@ File in-portal/admin/install/prerequisit_errors.php changed File in-portal/admin/install/upgrade_errors.php changed File in-portal/admin/install/upgrades/changelog_1_3_0.txt changed -File in-portal/admin/install/upgrades/changelog_1_4_0.txt is new; release_1_4_0 revision 1.1.2.2 +File in-portal/admin/install/upgrades/changelog_1_4_0.txt is new; release_1_4_0 revision 1.1.2.3 File in-portal/admin/install/upgrades/inportal_upgrade_v1.3.2.sql is new; release_1_4_0 revision 1.1.2.2 File in-portal/admin/users/adduser.php changed File in-portal/admin/users/user_list.php changed @@ -148,7 +148,7 @@ File in-portal/kernel/include/globals.php is new; release_1_4_0 revision 1.1.2.2 File in-portal/kernel/include/item.php changed File in-portal/kernel/include/modules.php changed -File in-portal/kernel/include/obscure.php is new; release_1_4_0 revision 1.1.2.1 +File in-portal/kernel/include/obscure.php is new; release_1_4_0 revision 1.1.2.2 File in-portal/kernel/include/robots_list.txt is new; release_1_4_0 revision 1.1.2.1 File in-portal/kernel/include/usersession.php changed File in-portal/kernel/include/compat/array_change_key_case.php is new; release_1_4_0 revision 1.1.2.1