function AddIndexCommands()
    {
        $condition = new RewriteCondition('$1', '!^(index\\.php|files|phine|robots\\.txt)');
        $this->writer->AddContent($condition);
        
        $rule = new RewriteRule('(.*)$', 'index.php');
        $rule->AddFlag(new CommandFlag(FlagType::Qsa()));
        $rule->AddFlag(new CommandFlag(FlagType::L()));
        $this->writer->AddContent($rule);
    }
function AddIndexCommands()
    {
        $condition = new RewriteCondition('$1', '!^(index\\.php|files|phine|robots\\.txt)');
        $this->writer->AddContent($condition);
        
        $rule = new RewriteRule('(.*)$', 'index.php');
        $rule->AddFlag(new CommandFlag(FlagType::Qsa()));
        $rule->AddFlag(new CommandFlag(FlagType::L()));
        $this->writer->AddContent($rule);
    }
function AddIndexCommands ( ) { $ condition = new RewriteCondition ( '$1' , '!^(index\\.php|files|phine|robots\\.txt)' ) ; $ this -> writer -> AddContent ( $ condition ) ; $ rule = new RewriteRule ( '(.*)$' , 'index.php' ) ; $ rule -> AddFlag ( new CommandFlag ( FlagType :: Qsa ( ) ) ) ; $ rule -> AddFlag ( new CommandFlag ( FlagType :: L ( ) ) ) ; $ this -> writer -> AddContent ( $ rule ) ; }
Adds the rules to rewrite anything to the index.php
Adds the rules to rewrite anything to the index . php