From: Paul L. <pdo...@us...> - 2005-07-21 09:51:05
|
Update of /cvsroot/serverfilters/serversidefilter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2921 Modified Files: options.php Log Message: Removing Compatibility requirement Index: options.php =================================================================== RCS file: /cvsroot/serverfilters/serversidefilter/options.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** options.php 17 Jun 2005 06:17:28 -0000 1.3 --- options.php 21 Jul 2005 09:49:44 -0000 1.4 *************** *** 19,39 **** - // include compatibility plugin - // - include_once(SM_PATH . 'plugins/compatibility/functions.php'); - - - - if (compatibility_check_sm_version(1, 3)) - { - include_once (SM_PATH . 'include/validate.php'); - include_once (SM_PATH . 'include/load_prefs.php'); - } - else - { - include_once (SM_PATH . 'src/validate.php'); - include_once (SM_PATH . 'src/load_prefs.php'); - } --- 19,33 ---- + if (file_exists(SM_PATH . 'include/validate.php')) + { + include_once(SM_PATH . 'include/validate.php'); + include_once(SM_PATH . 'include/load_prefs.php'); + } + else + { + include_once(SM_PATH . 'src/validate.php'); + include_once(SM_PATH . 'src/load_prefs.php'); + } |