Changeset 130
- Timestamp:
- 04/20/08 13:30:00 (3 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
lib/action.php (modified) (2 diffs)
-
wassup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/action.php
r124 r130 2 2 // action.php -- perform an action that renders an output to the browser 3 3 4 //force browser to disable caching to make action.php dynamic 5 header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 6 header("Expires: Mon, 22 Jun 2007 05:00:00 GMT"); // Date in the past 4 //force browser to disable caching to make action.php work as an ajax request 5 header("Expires: Fri, 22 Jun 2007 05:00:00 GMT"); // Date in the past 6 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified 7 // HTTP/1.1 8 header('Cache-Control: no-store, no-cache, must-revalidate'); 9 header('Cache-Control: post-check=0, pre-check=0', false); 7 10 //#debug... 8 11 //error_reporting(E_ALL | E_STRICT); //debug, E_STRICT=php5 only 9 12 //ini_set('display_errors','On'); //debug 13 //echo "\n"; //debug 10 14 11 15 //#check for required files and include them … … 20 24 include_once(ABSPATH.'wp-config.php'); 21 25 } else { 22 echo '<span style="font-color:red;">Action.php '.__( "ERROR: file not found","wassup").', '.ABSPATH.'wp-config.php</span>';26 echo '<span style="font-color:red;">Action.php '.__('ERROR: file not found','wassup').', '.ABSPATH.'wp-config.php</span>'; 23 27 exit(); 24 28 } -
trunk/wassup.php
r129 r130 537 537 ?> 538 538 <div class="sum"> 539 <span class="sum-box"><?php if ($numurl >= 2) { ?><a href="#" class="showhide" id="<?php echo $cv->id ?>"><?php print $ip[0]; ?></a><? } else { ?><?php print $ip[0]; ?><?php } ?></span>539 <span class="sum-box"><?php if ($numurl >= 2) { ?><a href="#" class="showhide" id="<?php echo $cv->id ?>"><?php print $ip[0]; ?></a><?php } else { ?><?php print $ip[0]; ?><?php } ?></span> 540 540 <div class="sum-det"><span class="det1"> 541 541 <?php … … 964 964 </p> 965 965 966 <span class="sum-box"><?php if ($numurl >= 2) { ?><a href="#" class="showhide" id="<?php echo $rk->id ?>"><?php print $ip[0]; ?></a><? } else { ?><?php print $ip[0]; ?><?php } ?></span>966 <span class="sum-box"><?php if ($numurl >= 2) { ?><a href="#" class="showhide" id="<?php echo $rk->id ?>"><?php print $ip[0]; ?></a><?php } else { ?><?php print $ip[0]; ?><?php } ?></span> 967 967 <span class="sum-date"><?php print $datetimeF; ?></span> 968 968 <div class="sum-det"><span class="det1">
