This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download from here: https://github.com/sugarcrm/Tidbit | |
# Copy Tidbit to your Sugar Root and unpack | |
cp Tidbit-master.zip /var/www/html | |
unzip Tidbit-master.zip | |
# Run Tidbit | |
cd Tidbit | |
php -f install_cli.php -- -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//var myWindow=window.open("http://hostname/index.php?action=download",'Download Log','width=200,height=100'); | |
above not work | |
var myWindow=window.open("http://hostname/index.php?action=download",'Download_Log','width=200,height=100'); | |
<?php | |
$logfile = file_get_contents("C:/log.txt", true); | |
header('Content-disposition: attachment; filename=log.txt'); | |
header("Pragma: public"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Windows 2008 R2 Server , PHP 5.3.23, for SugarCRM Professional 6.5.14 | |
date.timezone ="UTC" | |
session.cookie_lifetime= 0 #expire the user cookie session (client-side) when the browser is closed | |
session.gc_maxlifetime= 600 #expire the user session (server-side) in 10 minutes | |
fastcgi.logging = 0 | |
display_errors = 0 | |
max_execution_time = 120 |
NewerOlder