[pLog-svn] r4506 - in plugins/trunk: . unported
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Jan 4 23:14:39 GMT 2007
Author: oscar
Date: 2007-01-04 23:14:38 +0000 (Thu, 04 Jan 2007)
New Revision: 4506
Added:
plugins/trunk/mobile.php
Removed:
plugins/trunk/unported/mobile.php
Log:
this is part of the 'mobile' plugin
Copied: plugins/trunk/mobile.php (from rev 4492, plugins/trunk/unported/mobile.php)
Deleted: plugins/trunk/unported/mobile.php
===================================================================
--- plugins/trunk/unported/mobile.php 2007-01-04 23:12:08 UTC (rev 4505)
+++ plugins/trunk/unported/mobile.php 2007-01-04 23:14:38 UTC (rev 4506)
@@ -1,28 +0,0 @@
-<?php
- // please enable the line below if you are having memory issues
- //ini_set('memory_limit', "16M");
-
- if (!defined( "PLOG_CLASS_PATH" )) {
- define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
- }
- if( !defined( "MOBILE_PLOG_CLASS_PATH" )) {
- define( "MOBILE_PLOG_CLASS_PATH", PLOG_CLASS_PATH."plugins/mobile/" );
- }
-
- include_once( MOBILE_PLOG_CLASS_PATH."class/controller/mobilecontroller.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
-
- ini_set("arg_seperator.output", "&");
- ini_set("magic_quotes_runtime", 0 );
-
- //
- // a few more constants, please change them if needed
- //
- define( "MOBILE_PLOG_NUM_COMMENTS_PER_PAGE", 5 );
- define( "MOBILE_PLOG_NUM_POSTS_PER_PAGE", 5 );
-
- $controller = new MobileController();
-
- // give control to the, ehem, controller :)
- $controller->process( HttpVars::getRequest());
-?>
More information about the pLog-svn
mailing list