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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -