Readme, more cleanup
This commit is contained in:
		
							parent
							
								
									516ced28e1
								
							
						
					
					
						commit
						6a62ff4697
					
				@ -12,6 +12,14 @@ Installation
 | 
			
		||||
Config
 | 
			
		||||
------
 | 
			
		||||
 | 
			
		||||
Ideally, there would be a config file in system/application/config but I haven't gotten it to work properly yet.
 | 
			
		||||
 | 
			
		||||
In the system/application/libraries/Dynect_API.php file, edit these lines as necessary based on info provided by Dynect:
 | 
			
		||||
 | 
			
		||||
    var $user_name = '';
 | 
			
		||||
    var $customer_name = '';
 | 
			
		||||
    var $password = '';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Usage
 | 
			
		||||
------
 | 
			
		||||
 | 
			
		||||
@ -1,14 +0,0 @@
 | 
			
		||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 | 
			
		||||
 
 | 
			
		||||
/*
 | 
			
		||||
|--------------------------------------------------------------------------
 | 
			
		||||
| DYNECT API LOGIN INFO
 | 
			
		||||
|--------------------------------------------------------------------------
 | 
			
		||||
|
 | 
			
		||||
| Enter your Dynect API login info here.
 | 
			
		||||
|
 | 
			
		||||
$config['customer_name'] = 'demo-pagely';
 | 
			
		||||
$config['user_name'] = 'jstrebel';
 | 
			
		||||
$config['password'] = '1234test';
 | 
			
		||||
 | 
			
		||||
*/
 | 
			
		||||
@ -1,14 +0,0 @@
 | 
			
		||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 | 
			
		||||
 
 | 
			
		||||
/*
 | 
			
		||||
|--------------------------------------------------------------------------
 | 
			
		||||
| DYNECT API LOGIN INFO
 | 
			
		||||
|--------------------------------------------------------------------------
 | 
			
		||||
|
 | 
			
		||||
| Enter your Dynect API login info here.
 | 
			
		||||
|
 | 
			
		||||
*/
 | 
			
		||||
$config['customer_name'] = 'demo-pagely';
 | 
			
		||||
$config['user_name'] = 'jstrebel';
 | 
			
		||||
$config['password'] = '1234test';
 | 
			
		||||
 | 
			
		||||
@ -17,9 +17,9 @@ class Dynect_API {
 | 
			
		||||
    var $base_url = 'https://api2.dynect.net/wsdl/2.0.0/Dynect.wsdl'; // The Base Dynect API2 URL
 | 
			
		||||
    var $client; // The SOAP client
 | 
			
		||||
    var $token; // Dynect login token
 | 
			
		||||
    var $user_name = 'jstrebel'; // set by config
 | 
			
		||||
    var $customer_name = 'demo-pagely'; // set by config
 | 
			
		||||
    var $password = '1234test'; // set by config
 | 
			
		||||
    var $user_name = 'jstrebel';
 | 
			
		||||
    var $customer_name = 'demo-pagely';
 | 
			
		||||
    var $password = '1234test';
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user