rbrindley: branch 2.0 r4434 - /branches/2.0/config/js/index.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Jan 14 15:28:21 CST 2009


Author: rbrindley
Date: Wed Jan 14 15:28:21 2009
New Revision: 4434

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4434
Log:

- replaced some hardcoded '/var/lib/asterisk/' instances with sessionData.directories.astvarlibdir
(closes issue #14242)


Modified:
    branches/2.0/config/js/index.js

Modified: branches/2.0/config/js/index.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4434&r1=4433&r2=4434
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Wed Jan 14 15:28:21 2009
@@ -487,10 +487,10 @@
 		if( tmp_enableOverLay.isAstTrue() ){
 			var tmp_overlay_dir = '';
 			if( sessionData.PLATFORM.isAA50 ){
-				tmp_overlay_dir = 'mkdir -p /var/lib/asterisk/sounds/asteriskoverlay' ;
+				tmp_overlay_dir = 'mkdir -p '+sessionData.directories.astvarlibdir+'/sounds/asteriskoverlay' ;
 			}
 			if( sessionData.PLATFORM.isABE ){
-				tmp_overlay_dir = 'mkdir -p /var/lib/asterisk/gui-overlay' ;
+				tmp_overlay_dir = 'mkdir -p '+sessionData.directories.astvarlibdir+'/gui-overlay' ;
 			}
 			ASTGUI.systemCmd( tmp_overlay_dir , function(){
 				top.window.location.href = this_mainURL.withOut( 'overlay=' );




More information about the asterisk-gui-commits mailing list