Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 310c5f9

Browse files
committed
Force overriding conf/extensions.conf.php during upgrade, as output format changed.
1 parent dc292c5 commit 310c5f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dist/php/6.4.2.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
// FORCE extensions.conf copy, otherwise icons don't display correctly
4+
if (is_file(AJXP_INSTALL_PATH."/conf/extensions.conf.php".".new-".date("Ymd"))) {
5+
rename(AJXP_INSTALL_PATH."/conf/extensions.conf.php", AJXP_INSTALL_PATH."/conf/extensions.conf.php.pre-update");
6+
rename(AJXP_INSTALL_PATH."/conf/extensions.conf.php".".new-".date("Ymd"), AJXP_INSTALL_PATH."/conf/extensions.conf.php");
7+
}
8+

0 commit comments

Comments
 (0)