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
<?php | |
ini_set('display_errors', 1); | |
/** Api Endpoints */ | |
$apiData = array( | |
'api_endpoint' => "https://carapi.app/api/", | |
'years_endpoint' => "years", | |
'makes_endpoint' => "makes", |
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
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
ini_set('memory_limit', -1); | |
error_reporting(E_ALL); | |
use Magento\Framework\App\Bootstrap; | |
require __DIR__ .'/../app/bootstrap.php'; | |
$bootstrap = Bootstrap::create(BP, $_SERVER); |
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
<?php | |
define('DS', DIRECTORY_SEPARATOR); | |
use \Magento\Framework\App\Bootstrap; | |
include('../../app/bootstrap.php'); | |
$bootstrap = Bootstrap::create(BP, $_SERVER); | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); |
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
In magento if you merge the js file from enabling the merge js files setting in admin, and if you face the jQuery conflict issue, then you can find the solution in this gist. | |
if you go to the Mage_Page_Block_Html_Head class file and see the function getcssjshtml then you will know what this function is doing and what i have done to solve the js conflict issue. | |
One imp[ortant thing you have to take care in this that your jQuery files should be in skin folder and javascript prototype js file files should be in root js folder. | |
public function getCssJsHtml() | |
{ | |
// separate items by types | |
$lines = array(); |