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 !
Cleanups.
vito (author)
Wed Nov 05 14:35:09 -0800 2008
commit  13584a277aa9ee7b35c7c1686e9e5dacea1f53db
tree    c94f5f1111bcf86e46fa6100377ddab3cbc29c3e
parent  613947219a80126e5a71ab3c8724dcca910407cd
...
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
...
1230
1231
1232
 
 
1233
 
1234
1235
1236
0
@@ -1230,10 +1230,7 @@
0
      * Converts a DateTime to an integer time.
0
      */
0
     function datetimetotime($datetime) {
0
-        #$old = get_timezone();
0
-        #set_timezone($datetime->getTimezone()->getName());
0
         $time = strtotime(strftime($datetime->format("F jS, Y, g:i A")));
0
-        #set_timezone($old);
0
         return $time;
0
     }
0
 
...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
...
21
22
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
25
26
0
@@ -21,30 +21,6 @@
0
     # Execute the appropriate Controller responder.
0
     $route->init();
0
 
0
-#     error("Database Error", "Unknown column 'users.where' in 'where clause'
0
-# 
0
-# <pre>SELECT users.*
0
-# FROM users
0
-# WHERE (users.where IN ('alex'))
0
-# ORDER BY users.id DESC
0
-# 
0
-# 
0
-# <pre>Array
0
-# (
0
-# )
0
-# </pre>
0
-# 
0
-# <pre>#0 /var/www/rosiba/includes/class/SQL.php(201): Query->__construct(Object(SQL), 'SELECT users.*?...', Array, false)
0
-# #1 /var/www/rosiba/includes/class/SQL.php(238): SQL->query('SELECT __users....', Array, false)
0
-# #2 /var/www/rosiba/includes/class/Model.php(155): SQL->select(Array, Array, Array, 'id DESC', Array, NULL, NULL, Array, Array)
0
-# #3 /var/www/rosiba/includes/model/User.php(19): Model::grab(Object(User), Array, Array)
0
-# #4 /var/www/rosiba/includes/model/Post.php(684): User->__construct(Array)
0
-# #5 /var/www/rosiba/includes/controller/Main.php(374): Post::from_url(Array, Array)
0
-# #6 [internal function]: MainController->view(Array)
0
-# #7 /var/www/rosiba/includes/class/Route.php(99): call_user_func_array(Array, Array)
0
-# #8 /var/www/rosiba/index.php(22): Route->init()
0
-# #9 {main}</pre>");
0
-
0
     # If the route failed or nothing was displayed, check for:
0
     #     1. Module-provided pages.
0
     #     2. Feather-provided pages.

Comments