[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
ppmi
/
assets
/
js
/
libs
/
ckeditor
/
samples
/
love
/
class
/
plugins
/
webodf
/
[
Home
]
File: app.php
<?php class webodfPlugin extends PluginBase{ function __construct(){ parent::__construct(); } public function regiest(){ $this->hookRegiest(array( 'user.commonJs.insert' => 'webodfPlugin.echoJs', )); } public function echoJs($st=false,$act=false){ if($this->isFileExtence($st,$act)){ $this->echoFile('static/main.js'); } } public function index(){ $path = $this->filePath($this->in['path']); $fileUrl = _make_file_proxy($path); $fileName = get_path_this(rawurldecode($this->in['path'])); $fileName.= ' - '.LNG('kod_name').LNG('kod_power_by'); include($this->pluginPath.'/php/template.php'); } }