/** * Will create the URL for the kshow_id to be used as an HTML link * * @param string $kshow_id * @return string URL link */ public static function getUrl($kshow_id) { return requestUtils::getWebRootUrl() . "browse?kshow_id={$kshow_id}"; }
?> <a href="/index.php/system/login?exit=true">logout</a><br> <h1>System Test Results</h1> <TABLE align="center"> <?php echo '<TR><TD>'; echo "logger class: " . get_class(sfLogger::getInstance()); echo '</TD></TR>'; echo '<TR><TD>'; echo "Host: " . requestUtils::getHost(); echo '</TD></TR>'; echo '<TR><TD>'; echo " webRoot: " . requestUtils::getWebRootUrl(); echo '</TD></TR>'; echo "<TR><TD>Is the server running the 'curl_init' extension? " . (function_exists("curl_init") ? $ok : $notok) . "</TD></TR>"; /* echo '<TR><TD>The name of the user running httpd: '. exec('whoami')."</TD></TR>"; echo '<TR><TD>Path: '. exec('echo $PATH')."</TD></TR>"; echo '<TR><TD>Is FFMPEG in the path: '. (exec('ffmpeg') != null ? $ok : $notok)."</TD></TR>"; */ echo '<TR><TD>'; //emailContactImporterDiagnose (); echo '</TD></TR>'; /* @ini_set('zend_monitor.enable', 0); if(@function_exists('output_cache_disable'))
public static function createBlockEmailUrl($email) { $url = requestUtils::getWebRootUrl() . "/mail/blockEmail?e=" . self::createBlockEmailStr($email); return $url; }