Can somebody tell me if it is possible to make a file change using vqmod in the system folder.
For one of my extensions I need to make a change to a file from the Journal2 theme but the file is located in the system folder.
I can't seem to get this working. Is it even possible?
For one of my extensions I need to make a change to a file from the Journal2 theme but the file is located in the system folder.
I can't seem to get this working. Is it even possible?
All my extensions: Click here or Click here
Many VqMods access the system/... directory, the only file, which cannot be changed,
seems to be the index.php file(s), other vqmods , as well as stylesheets and scripts.
Ernie
---
seems to be the index.php file(s), other vqmods , as well as stylesheets and scripts.
Ernie
Code: Select all
<file name="system/library/user.php">
<operation>
<search position="after" offset="1"><![CDATA[public function login]]></search>
<add><![CDATA[$user_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "user WHERE LOWER(username) = '" . $this->db->escape(strtolower($username)) . "'");]]></add>
</operation>
</file>
Last edited by IP_CAM on Fri Sep 21, 2018 1:47 am, edited 2 times in total.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hmm perhaps I made a typo.
Or could it be because the file is in a folder which doesn’t come with opencart by default?
Or could it be because the file is in a folder which doesn’t come with opencart by default?
All my extensions: Click here or Click here
should not have an influence, at least, if this directory is not CHMOD-ed,
to NOT be accessable by other 'internal' sources.
Ernie
to NOT be accessable by other 'internal' sources.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
It is really strange I did multiple test but I can’t seem to make changes to the file.
I can change files in system/journal2
But files (php) located in system/journal2/classes aren’t affected.
I can change files in system/journal2
But files (php) located in system/journal2/classes aren’t affected.
All my extensions: Click here or Click here
Well, then better check with the fellows in charge, I never played around with such
Ernie
https://docs.journal-theme.com/#/home
Ernie
https://docs.journal-theme.com/#/home
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 64 guests