This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const startup = require('./system/startup'); | |
const app = express(); | |
startup(app); | |
//export or start the app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const router = require('restify-router').Router; | |
const routes = new router(); | |
const AuthController = require('../controller/auth'); | |
routes.post('/login',AuthController.login); | |
routes.get('/logout',AuthController.logout); | |
routes.get('/session',AuthController.session); | |
//return the restify-router instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
catalog/model/payment/advertikon_stripe.php | |
//Add country_id from address | |
$geoZones = Advertikon\Advertikon::getExtendedModel( 'localisation_zone' )->getGeoZonesIdByZoneId( $address[ 'country_id' ],$address[ 'zone_id' ] ); | |
// !!! I do not test if there is an other place where i need to set this !!! |