php - Codeigniter Temporary Solution for Mcrypt extension -
i have big problem in project. developed project pyrocms , pyrocms developed codeigniter. pyrocms required "mcrypt extension".
i have ssh detail of server don't have permission install server.
i need solution "mcrypt extension" how working without install or download anywhere , upload in project root directory if possible?.
i need solution this possible in laravel using packed working project without install mcrypt extension please give solution pyrocms.
today last day of project need upload today whatever happen otherwise lose project , work. please help.
thanks
you can override default library own library. can try below code:
p.s.: have not tested code :)
create file:
/codeigniter/application/libraries/my_encrypt.php
and have below code started:
<?php if ( ! defined('basepath')) exit('no direct script access allowed'); class my_encrypt extends ci_encrypt { public function __construct() { //parent::__construct(); } /* create custom encryption , decryption logic overriding function */ }
reference: https://ellislab.com/codeigniter/user-guide/general/creating_libraries.html
Comments
Post a Comment