public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Removed some other checks (follow-up to previous commit).
vito (author)
Thu Sep 04 18:46:39 -0700 2008
commit  078ceaa0a483027f55fd712cc8c715aa76c09e93
tree    7f2c0e8c2bec027b6b309dad73cc27d68dff6193
parent  6511a9936cdfe0596873ee5ffd2b528f345ad919
...
207
208
209
210
 
 
211
212
213
...
226
227
228
229
 
230
231
232
...
207
208
209
 
210
211
212
213
214
...
227
228
229
 
230
231
232
233
0
@@ -207,7 +207,8 @@
0
       global $page;
0
 
0
       $config = Config::current();
0
-      if (ADMIN or JAVASCRIPT or AJAX or XML_RPC or !$config->clean_urls or !empty($this->action))
0
+
0
+      if (!empty($this->action))
0
         return;
0
 
0
       if (count($this->arg) == 1 and method_exists(MainController::current(), $this->arg[0]))
0
@@ -226,7 +227,7 @@
0
     public function check_viewing_post($i_have_the_power = false) {
0
       $config = Config::current();
0
 
0
-      if (ADMIN or JAVASCRIPT or AJAX or XML_RPC or !$config->clean_urls or !empty($this->action))
0
+      if (!empty($this->action))
0
         return;
0
 
0
       if (count($this->arg) == 1 and method_exists(MainController::current(), $this->arg[0]))

Comments