Changeset 2860
- Timestamp:
- Nov 10, 2008, 8:28:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extras/auto-install/trunk/piwigo-loader.php
r2852 r2860 20 20 21 21 define('DC_LOADER_VERSION','0.8'); 22 define('DC_LOADER_SERVICE','http:// localhost/install/');23 define('DC_LOADER_ARCHIVE','http:// localhost/install/latest.zip');24 define('DC_LOADER_DIRECTORY','phpwebgallery- 2.0.0RC3');22 define('DC_LOADER_SERVICE','http://piwigo.duretz.net/'); 23 define('DC_LOADER_ARCHIVE','http://piwigo.duretz.net/latest.zip'); 24 define('DC_LOADER_DIRECTORY','phpwebgallery-1.7.3'); 25 25 define('DC_LOADER_LANG', getLanguage()); 26 26 … … 152 152 } 153 153 154 $loc = preg_replace('#/$#','', dirname($_SERVER['SCRIPT_NAME']));154 $loc = preg_replace('#/$#','',str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME']))); 155 155 156 156 return $scheme.'://'.$server_name.$port.$loc.'/'; … … 405 405 unlink(__FILE__); 406 406 407 $redir = preg_replace('#/+#','/', dirname($_SERVER['SCRIPT_NAME']).'/'.$dest.'/install.php');407 $redir = preg_replace('#/+#','/',str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])).'/'.$dest.'/install.php'); 408 408 409 409 $text = '<h2>'.__('Congratulations!').'</h2>'
Note: See TracChangeset
for help on using the changeset viewer.