Changeset 6535

Show
Ignore:
Timestamp:
09/01/08 15:48:46 (3 months ago)
Author:
p_lindheimer
Message:

move ivr_init() into install.php so it is not called every time in page.ivr.php, this init script needs to be reviewed in the future, looks like archaic stuff in there

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/ivr/install.php

    r6449 r6535  
    11<?php 
     2 
     3require_once dirname(__FILE__)."/functions.inc.php"; 
    24 
    35if (! function_exists("out")) { 
     
    288290} 
    289291 
     292// This used to be called from page.ivr.php every time, it should not be needed, it should 
     293// be called once and be done with. 
     294// 
     295ivr_init(); 
     296 
    290297?> 
  • modules/branches/2.5/ivr/page.ivr.php

    r6449 r6535  
    2424$tabindex = 0; 
    2525 
    26 if (empty($dircontext)) 
    27         $dircontext = 'default'; 
    28 // So. Lets check to make sure everything's happy 
    29 ivr_init(); 
     26if (empty($dircontext)) { 
     27        $dircontext = 'default'; 
     28
    3029 
    3130switch ($action) { 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads