Welcome Guest, Not a member yet? Register   Sign In
"Require_Once" Help Please
#3

[eluser]razerone[/eluser]
[quote author="noideawhattotypehere" date="1382017215"]Random idea, might not be the best but this will work

Code:
require_once(‘application/isinstalled.php’);
if(!defined('INSTALLED') {
require_once(‘application/module/install’);
}
after completing your installation make a function that puts this into isinstalled.php
Code:
<?php
define('INSTALLED', true);

You could also use CI config system but im too lazy to explain :p[/quote]

Thanks I am in the process of making a install database wizard for codeigniter just two stages two go saves people from going in the back end and entering in details. This module will get you to enter in details and then it will auto fill database config file. for HMVC codeigniter. I have got the database stage to work just working on auto base url form and auto email form all on different stages of install process for people who want custom hmvc template engine.


Messages In This Thread
"Require_Once" Help Please - by El Forum - 10-17-2013, 06:17 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 06:40 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:06 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:13 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:23 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 08:02 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 08:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB