Jean-Bruno Posted October 29, 2010 Share Posted October 29, 2010 Je m'explique : il y a 1 mois on etait en 1.4.0.2Il y a une semaine en 1.4.02Aujourd'hui ... vous me suivez ? Impossible de faire un test de mise à jour proprement sans se tirer une balleon pourrait pas avoir un 1.4.0.2.3110 par exemple ???Sinon merci de m'expliquer ces quelques lignes de /intall-dev/index.php /* Old version detection */ $oldversion = false; $sameVersions = true; $tooOld = false; if(file_exists(INSTALL_PATH.'/../config/settings.inc.php')){ include(INSTALL_PATH.'/../config/settings.inc.php'); $oldversion =_PS_VERSION_; $tooOld = (version_compare($oldversion, MINIMUM_VERSION_TO_UPDATE) == 0); $sameVersions = (version_compare($oldversion, INSTALL_VERSION) == -1); } MERCI, la 1.4 va être une bombe ! Link to comment Share on other sites More sharing options...
Jean-Bruno Posted November 3, 2010 Author Share Posted November 3, 2010 une idée ???merci Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now