|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Re: Care2002-developers Digest, Vol 26, Issue 18Hi Gjergj Sheldija,
You had posted sometime back on a solution to make care2x work under php5. I did see that thread and am curious to know whether it worked for you. I am planning to submit the latest changes made at my end (hope you must have seen my earlier posts) very soon. If you were able to find a quick fix, i could as well incorporate the same at my end and then post the files. Regards ----- Original Message ---- From: "care2002-developers-request@..." <care2002-developers-request@...> To: care2002-developers@... Sent: Sunday, 22 June, 2008 12:31:42 AM Subject: Care2002-developers Digest, Vol 26, Issue 18 Send Care2002-developers mailing list submissions to care2002-developers@... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/care2002-developers or, via email, send a message with subject or body 'help' to care2002-developers-request@... You can reach the person managing the list at care2002-developers-owner@... When replying, please edit your Subject line so it is more specific than "Re: Contents of Care2002-developers digest..." Today's Topics: 1. Re: Opinion about mycare2x (Gjergj Sheldija) ---------------------------------------------------------------------- Message: 1 Date: Sat, 21 Jun 2008 17:09:47 +0200 From: Gjergj Sheldija <gjergj.sheldija@...> Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@... Message-ID: <485D19BB.7010806@...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed nice theme :) apart the humour... except that they have clearly infringed the GPL not giving the source code they have done and interesting job integrating agata reports & integrated some nice modules, like the appoitments ... regards gjergji rafael bonifaz wrote: > Hi all, > > I would just like to know the opinion of you people abouta mycare2x[1] > > [1] http://mycare2x.com/ > > Regards, > > Rafael > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > ------------------------------------------------------------------------ > > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@... > https://lists.sourceforge.net/lists/listinfo/care2002-developers > ------------------------------ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ------------------------------ _______________________________________________ Care2002-developers mailing list Care2002-developers@... https://lists.sourceforge.net/lists/listinfo/care2002-developers End of Care2002-developers Digest, Vol 26, Issue 18 *************************************************** __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Care2002-developers mailing list Care2002-developers@... https://lists.sourceforge.net/lists/listinfo/care2002-developers |
|
|
Re: Care2002-developers Digest, Vol 26, Issue 18Hi Bala,
i'll be very glad to help you here is the code : ------------------------------------------------- <?php # # Page generation time measurement # define to 1 to measure page generation time # define('USE_PAGE_GEN_TIME',0); # # Doctors on duty change time # Define the time when the doc-on-duty will change in 24 hours H.M format (eg. 3 PM = 15.00, 12 PM = 0.00) # define('DOC_CHANGE_TIME','7.30'); # # Nurse on duty change time # Define the time when the nurse-on-duty will change in 24 hours H.M format (eg. 3 PM = 15.00, 12 PM = 0.00) # define('NOC_CHANGE_TIME','7.30'); # # Html output base 64 encryption # Define to TRUE if you want to send the html output in base64 encrypted form # define('ENCRYPT_PAGE_BASE64',FALSE); # # SQL "no-date" values for different database types #Define the "no-date" values for the db date field # define('NODATE_MYSQL','0000-00-00'); define('NODATE_POSTGRE','0001-01-01'); define('NODATE_ORACLE','0001-01-01'); define('NODATE_DEFAULT','0000-00-00'); # # Admission module“s extended tabs. Care2x >= 2.0.2 # Define to TRUE for extended tabs mode # define('ADMISSION_EXT_TABS',TRUE); # # Template theme for Care2x`s own template object # Set the default template theme # $template_theme='biju'; //$template_theme='default'; # # Set the template path # $template_path=$root_path.'gui/html_template/'; # # ---------- Do not edit below this --------------------------------------------- # Load the html page encryptor # if(defined('ENCRYPT_PAGE_BASE64')&&ENCRYPT_PAGE_BASE64){ include_once($root_path.'classes/html_encryptor/csource.php'); } # # globalize the POST, GET, & COOKIE variables # require_once($root_path.'include/inc_vars_resolve.php'); # # Set global defines # if(!defined('LANG_DEFAULT')) define ('LANG_DEFAULT','sq'); # # Establish db connection # require_once($root_path.'include/inc_db_makelink.php'); # # Session configurations # if(!defined('NOSTART_SESSION')||(defined('NOSTART_SESSION')&&!NOSTART_SESSION)){ # If the session is existing, destroy it. This is a workaround for php engines which are configured to session autostart = On if(session_id()) session_destroy(); # Set sessions handler to "user" ini_set('session.save_handler','files'); # Set transparent session id if(!ini_get('session.use_trans_sid')) ini_set('session.use_trans_sid',1); //ini_set('session.use_trans_sid',0); # Set session name to "sid" ini_set('session.name','sid'); # Set garbage collection max lifetime ini_set('session.gc_maxlifetime',10800); # = 3 Hours # Set cache lifetime //ini_set('session.cache_expire',1); # = 3 Hours # Start adodb session handling # # New session handler starting adodb 4.05 # $ADODB_SESSION_DRIVER=$dbtype; $ADODB_SESSION_CONNECT=$dbhost; $ADODB_SESSION_USER =$dbusername; $ADODB_SESSION_PWD =$dbpassword; $ADODB_SESSION_DB =$dbname; // Gjergj Sheldija : fixed menu with php 5.x //include_once($root_path.'classes/adodb/session/adodb-session.php'); // Old adodb 250 session handler //include_once($root_path.'classes/adodb/adodb-session.php'); session_start(); } # # Set the url append data # if (ini_get('session.use_trans_sid')!=1) { define('URL_APPEND', '?sid='.$sid.'&lang='.$lang); $not_trans_id=true; } else { # Patch to avoid missing constant define('URL_APPEND', '?ntid=false&lang='.$lang); //define('URL_APPEND','?lang='.$lang); $not_trans_id=false; } define('URL_REDIRECT_APPEND','?sid='.$sid.'&lang='.$lang); # # Page generation time start # if(defined('USE_PAGE_GEN_TIME')&&USE_PAGE_GEN_TIME){ include($root_path.'classes/ladezeit/ladezeitclass.php'); $pgt=new ladezeit(); $pgt->start(); } //echo URL_APPEND; echo URL_REDIRECT_APPEND; # # Template align tags, default values # $TP_ALIGN='left'; # template variable for document direction $TP_ANTIALIGN='right'; $TP_DIR='ltr'; # # Function to return the <html> or <html dir-rtl> tag # function html_ret_rtl($lang){ global $TP_ALIGN,$TP_ANTIALIGN, $TP_DIR; if(($lang=='ar')||($lang=='fa')){ $TP_ANTIALIGN=$TP_ALIGN; $TP_ALIGN='right'; $TP_DIR='rtl'; return '<HTML dir=rtl>'; }else{ return '<HTML>'; } } # # Function to echo the returned value from function html_ret_rtl() # function html_rtl($lang){ echo html_ret_rtl($lang); } ?> ------------------------------------------------- and the second patch is : in vars_resolve.php, chage ------------------------------ /* if(sizeof($global_vars=&importGlobalVariable('session'))) { //while(list($x,$v)=each($HTTP_SERVER_VARS)) while(list($x,$v)=each($global_vars)) { $$x=$v; } //reset($HTTP_SERVER_VARS); reset($global_vars); } */ ------------------------------ to ------------------------------- if(sizeof($global_vars=&importGlobalVariable('session'))) { //while(list($x,$v)=each($HTTP_SERVER_VARS)) while(list($x,$v)=each($global_vars)) { $$x=$v; } //reset($HTTP_SERVER_VARS); reset($global_vars); } ------------------------------- regards gjergj ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Care2002-developers mailing list Care2002-developers@... https://lists.sourceforge.net/lists/listinfo/care2002-developers |
|
|
Let's join this group for further help and support in care2xhttp://groups.google.com.np/group/care2002
This groups are for the developer and user of care2x so lets help each other via this groups Thank you |
| Free Forum Powered by Nabble | Forum Help |