Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move setting $apiUrl #12

Closed
CrazyRedScorp opened this issue Jan 11, 2017 · 0 comments
Closed

Move setting $apiUrl #12

CrazyRedScorp opened this issue Jan 11, 2017 · 0 comments

Comments

@CrazyRedScorp
Copy link

Hi, maybe move the setting apiUrl from file SmscRuApi.php

protected $apiUrl = 'https://smsc.ru/sys/send.php';

in the configuration file config/services.php. Example:

// config/services.php
...
'smscru' => [
    'url'  => env('SMSCRU_URL'),
    'login'  => env('SMSCRU_LOGIN'),
    'secret' => env('SMSCRU_SECRET'),
    'sender' => 'John_Doe'
],
...

I need to change only the address smsc.ru to smsc.kz. This services identical. Thank.

@CrazyRedScorp CrazyRedScorp changed the title $apiUrl Move setting $apiUrl Jan 11, 2017
jhaoda pushed a commit that referenced this issue Mar 30, 2018
* Resolved issue #12
@jhaoda jhaoda closed this as completed Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants