Permalink
Browse files

Update rew.phps

  • Loading branch information...
1 parent 93e5dc3 commit 5440456ae5f90e03b49187c42f5db4a2eae00913 @mow committed Jan 21, 2016
Showing with 4 additions and 4 deletions.
  1. +4 −4 rew.phps
View
@@ -1,10 +1,10 @@
<?php
class rewriteConf {
-
+/*
function __construct($htContent){
$this->htContent = $htContent;
}
-
+*/
function parseLine($line){
list($cmd,$regex,$rew,$flags) = explode(" ",$line);
if(!empty($flags)){
@@ -18,7 +18,7 @@ class rewriteConf {
$lines = explode("\n",$this->htContent);
$i = 0;
foreach($lines as $line){
- $line = trim($line);
+ $line = trim($line);
if($line[0] != '#' && !empty($line[0])){
if(strpos($line,"RewriteCond") !== false){
if(!isset($k))$k = 0;
@@ -553,4 +553,4 @@ class rewriteConf {
}
}
-?>
+?>

0 comments on commit 5440456

Please sign in to comment.